Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement log compaction #9

Closed
andreev-io opened this issue Aug 15, 2021 · 1 comment · Fixed by #32
Closed

Implement log compaction #9

andreev-io opened this issue Aug 15, 2021 · 1 comment · Fixed by #32
Assignees
Labels
enhancement New feature or request

Comments

@andreev-io
Copy link
Owner

andreev-io commented Aug 15, 2021

Section 7 of the Raft paper describes a much-needed optimization: log compaction. With it, the cluster will be able to snapshot its state from time to time so that replicas in the future don't have to replicate the entire transition log and so that storage space is preserved.

Implementing this in Little Raft according to the paper is a good way to make Little Raft a production-grade library. This is a good feasible challenge for people that want to build important functionality of a real distributed system following a clear specification (the Raft paper section 7, in this case).

@andreev-io andreev-io changed the title Add permanent storage trait Implement log compaction Aug 21, 2021
@andreev-io andreev-io added enhancement New feature or request good first issue Good for newcomers labels Aug 21, 2021
@andreev-io andreev-io added this to the Production grade milestone Aug 21, 2021
@andreev-io andreev-io removed the good first issue Good for newcomers label Aug 21, 2021
@andreev-io andreev-io self-assigned this Dec 17, 2021
@andreev-io
Copy link
Owner Author

I'm working on this.

@andreev-io andreev-io linked a pull request Dec 17, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant