ipfs-cluster/consensus
Hector Sanjuan 89b8fe106e Fix #275: Wait for Raft updates before snapshotting on shutdown
Raft will fail to take a snapshot when applied index is
different from the last index. Therefore, we wait for
all updates to be aplied before snapshotting.

If still it doesn't work, we retry a few times.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-09 15:02:47 +01:00
..
raft Fix #275: Wait for Raft updates before snapshotting on shutdown 2018-01-09 15:02:47 +01:00