On Mon, 13 May 2013 17:44:36 +0400, Vlad Lesin wrote:
> On 05/12/2013 04:48 PM, Alexey Kopytov wrote:
>>>> - in recv_recovery_from_archive_start() we ignore the
>>>> first_log_no
>>>> argument and use xtrabackup_arch_first_file_lsn instead.
>>>> wouldn't
>>>> it be better to pass xtrabackup_arch_first_file_lsn as the
>>>> first_log_no argument to recv_recovery_from_archive_start()
>>>> and
>
> As I understood our chat right the main cause of this change is to
> remove 'fake' arguments from recv_recovery_from_archive_start().
>
> Why just don't remove first_log_no from
> recv_recovery_from_archive_start() arguments list? I don't see any
> benefits in passing xtrabackup_arch_first_file_lsn and
> xtrabackup_arch_last_file_lsn to recv_recovery_from_archive_start() as
> arguments because in this case we just remove using global external
> variables from recv_recovery_from_archive_start() to
> innobase_start_or_create_for_mysql().
>
Either way is fine by me as long as we avoid fake arguments.
> >>> get rid of min/max_arch_log_no in
> >>> innobase_start_or_create_for_mysql()?
>
> Right. In this case we could remove min/max_arch_log_no from
> open_or_create_data_files() arguments list and from xb_data_files_init()
> too.
>
Hi Vlad,
On Mon, 13 May 2013 17:44:36 +0400, Vlad Lesin wrote: from_archive_ start() we ignore the arch_first_ file_lsn instead. arch_first_ file_lsn as the from_archive_ start() from_archive_ start() . from_archive_ start() arguments list? I don't see any arch_first_ file_lsn and arch_last_ file_lsn to recv_recovery_ from_archive_ start() as from_archive_ start() to start_or_ create_ for_mysql( ).
> On 05/12/2013 04:48 PM, Alexey Kopytov wrote:
>>>> - in recv_recovery_
>>>> first_log_no
>>>> argument and use xtrabackup_
>>>> wouldn't
>>>> it be better to pass xtrabackup_
>>>> first_log_no argument to recv_recovery_
>>>> and
>
> As I understood our chat right the main cause of this change is to
> remove 'fake' arguments from recv_recovery_
>
> Why just don't remove first_log_no from
> recv_recovery_
> benefits in passing xtrabackup_
> xtrabackup_
> arguments because in this case we just remove using global external
> variables from recv_recovery_
> innobase_
>
Either way is fine by me as long as we avoid fake arguments.
> >>> get rid of min/max_arch_log_no in start_or_ create_ for_mysql( )? create_ data_files( ) arguments list and from xb_data_ files_init( )
> >>> innobase_
>
> Right. In this case we could remove min/max_arch_log_no from
> open_or_
> too.
>
OK.