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> |
||
|---|---|---|
| .. | ||
| checker | ||
| config | ||
| core | ||
| diagnostic | ||
| filter | ||
| handler | ||
| hbstream | ||
| keyrange | ||
| labeler | ||
| operator | ||
| placement | ||
| plan | ||
| rangelist | ||
| scatter | ||
| schedulers | ||
| splitter | ||
| types | ||
| coordinator.go | ||
| metrics.go | ||
| plugin_interface.go | ||
| prepare_checker.go | ||