ktoso / akka-raft

A toy project implementing RAFT on top of Akka Cluster (not prod ready)

Home Page:http://blog.project13.pl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect next index calculation for log

schuster opened this issue · comments

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.