-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
khepri_cluster: Add
wait_for_leader/{0,1,2}
[Why] This new public API is useful if you want to be sure a clustered store is ready before issueing writes and queries. Note that there are obviously no guaranties that the Raft quorum will be lost just after this call. [How] The implementation is very close to `members/{0,1,2}`. The difference are: * how errors are handled * the return value
- Loading branch information
Showing
2 changed files
with
214 additions
and
0 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