PXB-3762: Backup with --transition-key crashes on assertion failure in xb_set_encryption() when undo log encryption keys exist in redo log#1740
Open
JoeJRW wants to merge 1 commit intopercona:trunkfrom
Conversation
…ead_encryption() Condition 1 checks use_dumped_tablespace_keys without !srv_backup_mode, causing assertion failure in xb_set_encryption() when --transition-key is used and undo encryption keys exist in redo log. During backup the encryption_info map is empty (keys are being collected, not loaded), so xb_fetch_tablespace_key() returns false and ut_a(found) fires. Add !srv_backup_mode to match Condition 2 and all other call sites.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please refer to the bug report at https://perconadev.atlassian.net/browse/PXB-3762