Jung-Sang Ahn
Jung-Sang Ahn
``` W230808 00:14:23.751987 330 [nuraft_w_0] src/handle_append_entries.cxx:582 handle_append_entries() deny, req term 7, my term 7, req log idx 4559, my log idx 4368 ``` This log means your log store reported...
Ok, thanks. Would you mind submitting a PR for it? Or please let me know if you want me to fix it.
Hi @adotsch, Thanks for bringing this issue. Creating snapshot is done by a separate background commit thread according to the current "state machine's commit index", so the snapshot index can...
@adotsch `create_snapshot()` is a best effort API and does not guarantee the success of creation, as multi-thread racing is not the only cause of failure. Also we can't use a...
Sorry, I completely forgot to respond. It seems like it is not related to NuRaft code, but Asio problem.
@JackyWoo Which version of Asio did you try? NuRaft is already using standalone Asio, 1.24.0.
First of all, please note that appended logs should be durable on disk at the time `append_entries` finishes its job, otherwise data loss may happen. There can be two options:...
There is already a timeout logic that calls `when_done` with failure, so as to make `peer.cxx` close the RPC client (hence the socket and connection). Do you mean this logic...
Ok got it, the existing timeout logic does not work for auto forwarding as there is no retry for auto forwarding. Need more time to think about it in detail,...
Yes, need to replace `sprintf` with `snprintf`, or just get rid of it and use `stringstream` instead.