Dead cluster member #200
-
Hi, not sure if I'm in the right place. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, it's the right place:)
Just restart the node with the same store.
This is a regular assumption about for a distributed consensus protocol:
The dead node is still a member of the cluster. |
Beta Was this translation helpful? Give feedback.
Yes, it's the right place:)
Just restart the node with the same store.
Raft requires its store to be persistent. Although in this example for simplicity, it just uses an in-memory store for testing.
There is a sample that restarts node: https://github.com/datafuselabs/openraft/blob/762c5a32746895463e68529adf8830ecbe058e92/openraft/tests/append_entries/t30_append_inconsistent_log.rs#L90-L94