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

RegionCache Enhancement #1104

Open
4 of 8 tasks
zyguan opened this issue Jan 4, 2024 · 0 comments
Open
4 of 8 tasks

RegionCache Enhancement #1104

zyguan opened this issue Jan 4, 2024 · 0 comments

Comments

@zyguan
Copy link
Contributor

zyguan commented Jan 4, 2024

Region cache is the core component of kv client. It maintains the information of regions and stores, which is required to send requests to the right TiKV nodes.

Currently, there are some stability issues related to region cache:

  • follower read may access a slow store, which leads to remarkable performance degradation.
  • region cache can not reload region properly when there is down peer, which leads to issues like unexpected continuous cross AZ traffic after tikv shutdown #879 .
  • region cache may invoke GetRegion too frequently, which leads to heavy load on PD.

In order to resolve these issues and build an unified health controller, here are some preparatory tasks related to region cache:

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

No branches or pull requests

1 participant