Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Doesn't have remove evict leader scheduler task in rolling_update.yml #983

Open
XSHui opened this issue Oct 8, 2019 · 1 comment
Open

Comments

@XSHui
Copy link

XSHui commented Oct 8, 2019

滚动升级 TiKV 节点(只升级 TiKV 服务)

Copy
ansible-playbook rolling_update.yml --tags=tikv

滚动升级 TiKV 实例时,Ansible 会迁移 region leader 到其他节点。具体逻辑为:调用 PD API 添加 

evict leader scheduler,每 10 秒探测一次该 TiKV 实例 leader_count, 等待 leader_count 降到 1 

以下或探测超 18 次后,即三分钟超时后,开始关闭 TiKV 升级,启动成功后再去除 evict leader

scheduler,串行操作。

The doc means stop tikv node if leader_count < 1 or check_time > 3min. Do remove evict leader scheduler after new tikv node has been started. But there doesn't have this task in rolling_update.yml

@XSHui XSHui changed the title Doesn't have remove evict leader scheduler task in rolling update tidb Doesn't have remove evict leader scheduler task in rolling_update.yml Oct 8, 2019
@liubo0127
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants