-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: facilitate side effect mutation in applyRaftCommand
Future code changes (sending snapshots without historical Raft log) will make it necessary to sometimes alter the ReplicatedEvalResult in applyRaftCommand (turning a TruncatedState updated into a noop). Make this possible by returning the modified result back up to the caller. Release note: None
- Loading branch information
Showing
1 changed file
with
16 additions
and
16 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