-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore improvement: compaction (#4060)
* feat(restore): disable compaction during restore Fixes #3956 * feat(command/restore): allow controlling auto compaction * feat(restore_test): test setup during restore data stage This commit add TestRestoreTablesPreparationIntegration. Its purpose is to check setup changes performed by SM during restore data stage. Right now it validates tombstone_gc mode and compaction, but it can be easily extended in the future. Test scenario: - Run restore - hang on restore data stage - Validate setup - Pause restore - Validate setup - Resume restore - hang on restore data stage - Validate setup - Resume restore - wait for success - Validate setup - Validate restore success * fix(backup_test): remove partial upload check from TestBackupResumeIntegration This check isn't implemented correctly, as starting from 27b1d23, file names are not stored in the SM DB. It means that 'sfs' was always empty. Nevertheless, the partial upload check could still fail when 's3f' was empty as well. This test does not implement any breakpoint to ensure that backup is paused after transferring at least a single file (it just waits for the transfers to start). That's why this check was flaky and didn't do anything meaningful, so it is removed from the test.
- Loading branch information
1 parent
f7a2ea9
commit 9fb5be9
Showing
8 changed files
with
221 additions
and
59 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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