forked from tikv/tikv
-
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.
raftstore: skip deleting snapshot files in peer pending_remove is true (
tikv#11782) * raftstore: skip deleting snapshot files in peer when the peer is pending removal and the snapshot is being applied and canceled -- close tikv#11746 This is to avoid the potential panic when the snapshot files are deleted, but the peer's status (Tombstone) is not persisted in disk due to tikv crash. Signed-off-by: tonyxuqqi <tonyxuqi@outlook.com> * address code review feedback -- close tikv#11746 Signed-off-by: qi.xu <tonxuqi@outlook.com> * address code review feedback 2 -- close tikv#11746 Signed-off-by: qi.xu <tonxuqi@outlook.com> * address code review feedback 2 -- close tikv#11746 Signed-off-by: qi.xu <tonxuqi@outlook.com> * address code review feedback 2 -- close tikv#11746 Signed-off-by: qi.xu <tonxuqi@outlook.com> * address code review feedback 2 -- close tikv#11746 Signed-off-by: qi.xu <tonxuqi@outlook.com> Co-authored-by: qi.xu <tonxuqi@outlook.com> Signed-off-by: xiejiandong <xiejiandong@pingcap.com>
- Loading branch information
1 parent
30293c7
commit 0f45a79
Showing
2 changed files
with
90 additions
and
3 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