-
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.
fix(restore): rely on run.units instead of target.keyspace when itera…
…ting over manifests Target.keyspace is calculated at the beginning of each restore task run. It is vulnerable for changes occurring during restore process, e.g.: - restore targeting some views is started - target.keyspace excludes restored views (checked via CQL query) - restore is paused - restore is resumed - recalculated target.keyspace no longer excludes restored views Units are calculated only once at the beginning of the restore, so they are not vulnerable to mentioned changes and should be used to determine which tables should be restored. Fixes #4037
- Loading branch information
1 parent
cabb5ff
commit 564546d
Showing
3 changed files
with
24 additions
and
3 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