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: update applied_index_term after snapshot (tikv#10476)
* add test case Signed-off-by: Jay Lee <[email protected]> * raftstore: update applied_term after snapshot After applying snapshot applied_term should also be updated, otherwise it can produce snapshot with wrong term and cause panic in follower. Close tikv#10225 Signed-off-by: Jay Lee <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]> Signed-off-by: tiancaiamao <[email protected]>
- Loading branch information
1 parent
9a9805f
commit 945df2c
Showing
2 changed files
with
64 additions
and
0 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