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 1192834: disable compact backups in 2.4 #392
Conversation
There were several issues with compact backups: 1. Prepare failed on rollback and purge phases because secondary indexes are not rebuilt by the time of rollback/purge. Fixed by skipping rollback and purge for all secondary indexes. 2. Pages in buffer pool could mistakenly be marked as compacted and redo log would not be replayed on such pages which led to corrupt backups and crashes. Fixed by clearing `is_compacted' for every page read into the buffer pool. 3. Compacted pages which have been freed up and repurposed by server were not fully reset during prepare which let to corrupt backups. 4. Index rebuild process could start in parallel with rollback phase which led to crashes and corrupt backups. Fix makes sure that index rebuild process isn't started until rollback is fully complete.
Disable compact backups in 2.4 * 2.3-xb-bug1192834: Bug 1192834: Crash during apply with index compaction enabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly Ok, but please take a second look at the tests
|
||
. inc/common.sh | ||
|
||
skip_test "Enable when bug #1192834 is fixed in 2.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I get it right, this PR would fix the 1192834. Should we enable this test now?
|
||
. inc/common.sh | ||
|
||
skip_test "Enable when bug #1192834 is fixed in 2.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, enable test?
I was going to mark bug 1192834 as "Won't fix" in 2.4. But was to going to keep the tests in case if we change our mind. The bug will still be valid for 2.4 even though one will not be able to take compact backup with 2.4, he can take the backup using 2.3 and crash 2.4 |
Merge test cases for bug 1192834, but disable them. Change
compact.sh
to check that--compact
option no longer available.