Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raft_serverpb: add new ExtraMessage types for the snapshot gen preche…
…ck process (#1245) * Add a new extra message for snapshot send precheck Signed-off-by: Bisheng Huang <[email protected]> * use a boolean Signed-off-by: Bisheng Huang <[email protected]> * raft_serverpb: add new ExtraMessage types for the snapshot gen precheck process This commit adds two new new ExtraMessage types that are part of the snapshot gen precheck process. Before a leader generates a snapshot, it sends a precheck request to the target follower. The follower responds with a boolean value indicating whether the check succeeds. Signed-off-by: Bisheng Huang <[email protected]> * make name shorter Signed-off-by: Bisheng Huang <[email protected]> * include proto.lock change Signed-off-by: Bisheng Huang <[email protected]> --------- Signed-off-by: Bisheng Huang <[email protected]> Co-authored-by: Neil Shen <[email protected]>
- Loading branch information