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

Enable LeaderCachedKvStore for meta server #2604

Closed
2 of 4 tasks
WenyXu opened this issue Oct 13, 2023 · 0 comments
Closed
2 of 4 tasks

Enable LeaderCachedKvStore for meta server #2604

WenyXu opened this issue Oct 13, 2023 · 0 comments
Assignees
Labels
C-enhancement Category Enhancements
Milestone

Comments

@WenyXu
Copy link
Member

WenyXu commented Oct 13, 2023

What type of enhancement is this?

Performance, Refactor, Tech debt reduction

What does the enhancement do?

The meta server needs a cheap way to ensure the Datanode servers hold the correct Writable Region and Read-only Region. Due to all metadata mutation should be executed via meta server leader in distribution mode, we can utilize this character to cache all metadata in the meta server's memory.

Steps

Reclaim Mutation permissions

Enable LeaderCachedKvStore

  • Add initializing stage for caching key-value
  • Reject requests during the initializing stage

Implementation challenges

No response

@WenyXu WenyXu added the C-enhancement Category Enhancements label Oct 13, 2023
@WenyXu WenyXu self-assigned this Oct 17, 2023
@WenyXu WenyXu added this to the v0.5 milestone Oct 23, 2023
@fengjiachun fengjiachun modified the milestones: v0.5, v0.6 Dec 27, 2023
@fengjiachun fengjiachun modified the milestones: v0.6, v0.8 Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category Enhancements
Projects
None yet
Development

No branches or pull requests

2 participants