mirror of https://github.com/tikv/pd.git
close tikv/pd#9719 Add an is_stopping status to the StoreHeartbeat message. When TiKV receives a SIGTERM, it sets this flag. This change adds a new evict-stopping-store-scheduler to PD, which is analogous to the evict-slow-store-scheduler. It proactively transfers leaders away from nodes by inspecting the is_stopping status from store heartbeats. Signed-off-by: hujiatao0 <hhjjtt110@gmail.com> |
||
|---|---|---|
| .. | ||
| candidates.go | ||
| candidates_test.go | ||
| comparer.go | ||
| counter.go | ||
| counter_test.go | ||
| filters.go | ||
| filters_test.go | ||
| healthy.go | ||
| healthy_test.go | ||
| metrics.go | ||
| region_filters.go | ||
| region_filters_test.go | ||
| status.go | ||