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/recovery_stm: deliver an on demand snapshot to learner
If learner start offset is set in Raft configuration. Recovery STM is going to request an on demand snapshot from stm manager (or an empty snapshot if stm manager is not set) and deliver it to the follower as a log starting point. Signed-off-by: Michal Maslanka <michal@redpanda.com>
- Loading branch information
1 parent
65d9655
commit 23d5f58
Showing
2 changed files
with
197 additions
and
70 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