forked from redpanda-data/redpanda
-
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.
r/state_machine: wait for the last snapshot to be applied
When state machine is applying the snapshot it may be the case that another install snapshot request is received by underlying Raft protocol instance. In this case the STM should immediately proceed to applying the new snapshot instead of trying to read log from an offset which is lower than the new log start offset. Signed-off-by: Michal Maslanka <michal@redpanda.com> (cherry picked from commit 78d2b21)
- Loading branch information
1 parent
bcd1a1c
commit b720002
Showing
2 changed files
with
23 additions
and
6 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