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

Single state machine across main and object stores #1077

Draft
wants to merge 57 commits into
base: main
Choose a base branch
from

Conversation

badrishc
Copy link
Collaborator

@badrishc badrishc commented Mar 8, 2025

Changes:

  • Share Epoch and StateMachineDriver (SMD) across main and object stores
  • Garnet checkpointing uses this shared driver to checkpoint both stores with a single state machine
  • Transactions acquiring lockable context ensure that the store version is same across both (main and object) contexts
  • Move NumActiveLockingSessions to SMD and ensure correct (v) -> (v+1) switchover with active transactions

Notes:

  • Recovery and cluster logic is left unmodified, they assume checkpoints are separate across main and object stores. This allows the PR to remain backward compatible.

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