forked from apache/incubator-pegasus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SKV-636] fix: fix a crash bug when open an incomplete created RocksD…
…B instance (apache#1451) 对应社区commit: https://github.com/apache/incubator-pegasus/pull/1451/files 注: 由于单测部分变更较大,本次未合入 apache#1450 If replica server attempt to open an incomplete RocksDB instance (maybe caused by a previous crash), it will crash before moving the incomplete path to ".err" trash path, and it will crash again if restart the server. This patch avoid to crash before moving the incomplete RocksDB path to ".err" path, thus the replica has an opportunity to recovery automatically without move the incomplete RocksDB path manually.
- Loading branch information
Showing
3 changed files
with
59 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