-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close all opened tables on Exception in DistributedCheckpointer (#3543)
The DistributedCheckpointer doesn't close the tables on exception thrown during appendCheckpoint. With a retry in place for runtime exception, rocksdb throws errors when it tries to open the table again. This fix addresses the above issue and closes the opened tables in a finally block.
- Loading branch information
1 parent
5e56945
commit 864cc68
Showing
2 changed files
with
13 additions
and
4 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