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

feat: support mask for raft log store #100

Merged
merged 3 commits into from
Apr 12, 2022
Merged

feat: support mask for raft log store #100

merged 3 commits into from
Apr 12, 2022

Conversation

MrCroxx
Copy link
Owner

@MrCroxx MrCroxx commented Apr 12, 2022

Add mask support for raft log store to combine raft log store and the WAL of the state machine together.

After applying commands to the state machine, the raft log entries are masked, which means they are not deleted, but cannot be accessed by the raft algorithm. After the commands of the masked raft log entries are persisted, they can be safely compacted.

Ref: #88 .

@MrCroxx MrCroxx added the feature New feature. label Apr 12, 2022
@MrCroxx MrCroxx self-assigned this Apr 12, 2022
@MrCroxx MrCroxx enabled auto-merge (squash) April 12, 2022 14:55
@MrCroxx MrCroxx merged commit 884b3e8 into main Apr 12, 2022
@MrCroxx MrCroxx deleted the xx/raft-log-store-mask branch April 12, 2022 15:16
@MrCroxx
Copy link
Owner Author

MrCroxx commented Apr 13, 2022

Celebrate issue/pr number reaches 100 and loc reaches 10000, 🎉.

(Nothing to celebrate in fact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant