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

gc dead store #189

Closed
siddontang opened this issue Jul 12, 2016 · 1 comment
Closed

gc dead store #189

siddontang opened this issue Jul 12, 2016 · 1 comment
Assignees

Comments

@siddontang
Copy link
Contributor

If the store was down, pd should be told about it or pd should check whether the store is alive or not for a long time.

If pd ensures that the store is down, it will do balance for the region which contains the store, maybe we can do it in following cases:

  • When the leader of region reports Heartbeat, pd finds the region contains the dead store and then does balance.
  • Pd chooses a region which contains the dead store regularly, then does balance.

/cc @qiuyesuifeng @disksing @zhangjinpeng1987

@huachaohuang
Copy link
Contributor

huachaohuang commented Jul 22, 2016

This issues will be separated into three steps:

  • Health check for stores and filter out down stores from balance.
  • Health check for regions and do balance for down peers. tikv #823
  • Add admin api to remove stores gracefully.

@siddontang siddontang modified the milestone: beta3 Jul 30, 2016
@huachaohuang huachaohuang removed this from the beta3 milestone Aug 23, 2016
@siddontang siddontang modified the milestone: beta3 Aug 26, 2016
JmPotato pushed a commit to JmPotato/pd that referenced this issue Sep 25, 2023
tikv#189)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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

2 participants