Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translog can delete valid .ckp file when views are closed after the t…
…ranslog (#19035) There is simply a coding bug that only happens if translog views are closed after the translog itself is closed. this can happen for instance if we hit a disk full exception and try to repeatedly recover the translog. This will cause a translog-N.ckp file to be deleted since the wrong generation is used to generate the path to delete. This seems like a copy/past problem. This bug doesn't affect 5.0 Relates to #16495
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
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