-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: get all available restore commands even on poll timeout (#6985)
our restore logic differentiates on restore behaviour vs live behaviour to avoid making some newly added referential integrity checks and therefore ensure we execute anything that was already logged. While this isn't the best way to guarantee compatibility, it's what we're doing now and we have a problem: sometimes the restore poll times out and returns no records, so we don't execute any restore phase. This patch fixes this by first sampling the end offset of the log and ensuring that all rows between the begin and end are returned.
- Loading branch information
Showing
2 changed files
with
51 additions
and
23 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