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

UniCache feature #119

Merged
merged 49 commits into from
Oct 22, 2023
Merged

UniCache feature #119

merged 49 commits into from
Oct 22, 2023

Conversation

haraldng
Copy link
Owner

@haraldng haraldng commented Oct 15, 2023

Please make sure these boxes are checked, before submitting a new PR.

  • You ran the local CI checker with ./check.sh with no errors
  • You reference which issue is being closed in the PR text (if applicable)
  • You updated the OmniPaxos book (if applicable)

Issues

Fix #63 , fix #116

Other Changes

  • Added new feature unicache to omni_paxos that introduces the UniCache traits and AcceptEncoded message and related logic in SequencePaxos.
  • Added LFUniCache and LRUnicache, two out-of-the-box implementations for UniCache.
  • Users can now specify the Snapshot type in the derive(Entry) macro by using the #[snapshot()] attribute, instead of having to manually implement Snapshot for Entry
  • Added derive(UniCacheEntry) macro.
  • Changed the tests so that they can also be run with the unicache feature to test UniCache.
  • Added script to check for all possible feature combinations in omnipaxos/test_all_features.sh
  • Updated CI, check.sh and PR template.
  • Change to use accept_stopsign instead of setting it directly via InternStorage
  • Refactor test code and how the decided futures are used.

…er fixes for CI

Increase wait_timeout and remove check for node 1 as follower

increase timeouts and check leader from other node

Add logging

Log message of peer not found and NotAccepted. Remove late reply logging in BLE

Fix comparison bug in check_valid_ballot()

send preparereq to all peers upon timeout in recovery mode

Replace confusing self.leader with function that reads from the promise. Move forward proposal and stopsign to mod.
Update test.toml

Update utils.rs
Copy link
Contributor

@kevin-harrison kevin-harrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#[serde(rename(deserialize = "resend_timeout_ms"))]

Should rename "resend_message_timeout_ms" instead.

@haraldng haraldng merged commit 306c420 into master Oct 22, 2023
4 of 6 checks passed
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.

workspace clippy check UniCache
3 participants