-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional storage callback for creating empty snapshots for bootst…
…rapping Summary: Add an optional callback to the `wa_raft_storage` behavior that can be implemented to provide a way to construct a snapshot of an empty storage state. This empty storage state can be used to more reliably bootstrap RAFT partitions by simultaneously constructing and loading the same empty storage state over all replicas of a cluster when compared to the traditional method of bootstrapping via promotion of a single leader. Reviewed By: jaher Differential Revision: D68859661 fbshipit-source-id: 76d8e863e4193034dee6f4a39096d811eb7f3f49
- Loading branch information
1 parent
5592c64
commit a9ab3fd
Showing
4 changed files
with
124 additions
and
17 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