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

Support partitioned checkpoint #1157

Closed
4 tasks
Tracked by #1158
hzxa21 opened this issue Mar 22, 2022 · 1 comment
Closed
4 tasks
Tracked by #1158

Support partitioned checkpoint #1157

hzxa21 opened this issue Mar 22, 2022 · 1 comment
Assignees

Comments

@hzxa21
Copy link
Collaborator

hzxa21 commented Mar 22, 2022

To improve our checkpoint strategy, we decide to support checkpoint in MView granularity with configurable consistency. In other words, each MView can complete its checkpoint independently.

  • Introduce hummock group in hummock manager to track MaxCommittedEpoch (MCE) of each MView
  • Support reads/writes with hummock group
  • Support group based barrier injection/collection and epoch commit
  • Support group based failover

Discussion:

  • How to ensure query consistency after failover (rollback MCE or not? If not, frontend waits or storage waits?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants