Incorrect next index calculation for log
schuster opened this issue · 0 comments
schuster commented
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.