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

refactor: update persister interface and test #10

Merged
merged 5 commits into from
Aug 30, 2024
Merged

refactor: update persister interface and test #10

merged 5 commits into from
Aug 30, 2024

Conversation

ASjet
Copy link
Owner

@ASjet ASjet commented Aug 30, 2024

Refactor

  • Use LogIndex in Persister trait.
  • File persister serialize integer in big endian for better binary readability.
  • Use mock client to test raft WAL.
  • Test persister implements based on interface.

@ASjet ASjet merged commit ced9a70 into main Aug 30, 2024
1 check passed
@ASjet ASjet deleted the dev branch August 30, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant