Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1448447: Fix for bug 1403237 is incomplete (2.2) #37

Merged
merged 1 commit into from May 11, 2015

Conversation

gl-sergei
Copy link
Contributor

At the end of the log copying process XtraBackup invokes
log_group_read_checkpoint_info to grab latest checkpoint LSN which
resets group->lsn_offset to wrong value. As the result last copied
batch of log records is copied from wrong location.

Fix is following:

  1. Remember if we chose to use alternative LSN offset location.
  2. Allow to try different offset at any time, not only when
    reading the first log block. It handles the case when copying
    started with offset lower than 4G and finished with offset
    higher than 4G.

http://jenkins.percona.com/view/PXB%202.2/job/percona-xtrabackup-2.2-param/301/

At the end of the log copying process XtraBackup invokes
log_group_read_checkpoint_info to grab latest checkpoint LSN which
resets group->lsn_offset to wrong value. As the result last copied
batch of log records is copied from wrong location.

Fixed is following:

1. Remember if we chose to use alternative LSN offset location.
2. Allow to try different offset at any time, not only when
   reading the first log block. It handles the case when copying
   started with offset lower than 4G and finished with offset
   higher than 4G.
@gl-sergei gl-sergei changed the title Bug 1448447: Fix for bug 1403237 is incomplete Bug 1448447: Fix for bug 1403237 is incomplete (2.2) Apr 29, 2015
@george-lorch
Copy link
Contributor

+1

gl-sergei added a commit that referenced this pull request May 11, 2015
Bug 1448447: Fix for bug 1403237 is incomplete (2.2)
@gl-sergei gl-sergei merged commit 5eade40 into percona:2.2 May 11, 2015
@gl-sergei gl-sergei deleted the 2.2-xb-bug1448447 branch November 24, 2016 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants