forked from MystenLabs/sui
-
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.
checkpoints: don't reinsert genesis checkpoint if its already present
This patch fixes an issue we've seen where a node's highest_synced_checkpoint watermark ends up getting reset to 0 upon restarting. This ended up being due to us unconditionally inserting the genesis cehckpoint and reseting the watermark to 0.
- Loading branch information
Showing
1 changed file
with
31 additions
and
11 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