-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(server): allow higher term shard deleting (#559)
### Motivation The coordinator will replace the ensemble when swapping the node. Therefore, the old node can't receive new term requests, and the actual shard term will be greater than the old server. and then the old server will keep printing ``` Invalid term when deleting shard ``` ### Modification - Allow higher term shard deleting. ### Alternatives - save the deleting term before the new ensemble is elected.
- Loading branch information
1 parent
c74352c
commit be8cef5
Showing
3 changed files
with
4 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
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