Jung-Sang Ahn
Jung-Sang Ahn
@songenjie Can you please elaborate more? it is not clear what your question is. As you can see, serializing config to binary is ```C++ ptr buf = config.serialize(); ``` and...
Hi @michaelqxd , First of all, adding `S2` will not succeed if `S2` is offline at the time you add server. Anyway, let's assume that `S2` has been successfully added....
Heartbeat is one of fundamentals in Raft, of course NuRaft has it. You can adjust the interval of heartbeat in here: https://github.com/eBay/NuRaft/blob/9e4efd3b6cc2185915ef64c9e580a603875a049b/include/libnuraft/raft_params.hxx#L303
Hi @michaelqxd As I already mentioned, adding server succeeds only when the server (to be added) is online, since it requires a sort of handshaking (synchronizing logs, configurations, ...). So...
Hi @xuluna, You can add a new follower to an existing & running cluster. But that new follower should be either 1) empty or 2) having consistent Raft log and...
@xuluna Now I get your point. There is no way that `S3` knows about any existing clusters by itself. Someone (outside Raft) should be aware of it and coordinate these...
Hi @farrerm , when you execute echo server binary, did you also put real IP address instead of `localhost`? `./echo_server 1 10.20.30.40:12345` for example. If it doesn't work even though...
@farrerm Yes, that will work. The only concern is it requires additional network hop (for redirecting from follower to leader). There is an option to do that behavior automatically: https://github.com/eBay/NuRaft/blob/f495e3a32ff09d158e0cf09dcb4df30d5985ba8a/include/libnuraft/raft_params.hxx#L439...
Great, hope to see you at here :)
Hi @farrerm Forced removal will happen after 5 heartbeats, if the leadership is still valid (i.e., leader can communicate to a majority of servers). You will see a log like...