Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure we stream transactions as far as is required or fail
This is a rare race which can occur when transaction log pruning comes in while an iteration over transactions spanning several files is in progress. If the pruner deletes files ahead of us then the kernel transaction cursor will not notice, which previously would lead us to fall short. A safety check is now added which works regardless of cursor behaviour.
- Loading branch information
1 parent
c57e6a8
commit b263fbc
Showing
3 changed files
with
118 additions
and
34 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