Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Log compaction can cause append to take too many entries #40

Open
schuster opened this issue Apr 15, 2015 · 0 comments
Open

Log compaction can cause append to take too many entries #40

schuster opened this issue Apr 15, 2015 · 0 comments
Milestone

Comments

@schuster
Copy link

The call to ReplicatedLog.append in the Follower's append code does not take log compaction into account. If a log has been compacted, then taking a number of entries equal to the log index and appending the new entries to that will leave too many extra entries in the log (because the number of entries is not equal to the index of the last log entry in this case).

@ktoso ktoso modified the milestone: 1.0 Aug 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants