-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(storagenode): restore the status of a log stream replica by usin…
…g the latest commit context This patch changes how to restore the status of a log stream replica after #162. Previously, the log stream replica reads a sequence of all commit contexts to decide whether it can work well after restoring. However, since the replica will maintain only the latest commit context, we should change the previous approach to reloading a replica. The log stream replica reads the last commit context and boundary of log entries and checks if it recovers its status. The replica runs if the recovery completes. However, if there is something wrong, its reportCommitBase will be invalid. In that case, the metadata repository will ignore its report, and cloning the log entries from the other replica will occur. Updates #125
- Loading branch information
Showing
90 changed files
with
1,720 additions
and
148 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
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
Oops, something went wrong.