lni / dragonboat

A feature complete and high performance multi-group Raft library in Go.
Apache License 2.0
4.98k stars 533 forks source link

how to Detect whether the raft node Breakdowns? #301

Open xiatianqiuyu opened 1 year ago

xiatianqiuyu commented 1 year ago

How to check whether the raft node Breakdowns?How to register a watcher and perform certain operations with a surviving node in the event of a node down

lni commented 1 year ago

what do you mean by breakdown? crashed node?

when using dragonboat, you normally don't need to care whether any remote replica is no longer available, in fact there is no reliable way to do that in distributed systems.