akka-raft
akka-raft copied to clipboard
Incorrect next index calculation for log
If I'm reading the code correctly, nextIndex
is based on the number of entries in the log. This won't work when log compaction is used, because a single compacted log entry counts for multiple index numbers.