-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
tikv error when demote follower to learner #11463
Comments
/assign NingLin-P |
When demoting a voter to a learner with simple Previously there are no such schedule (demoting a voter to a learner with simple tikv/components/raftstore/src/store/fsm/apply.rs Lines 1871 to 1899 in 6a0792a
|
Why PD wants to demote follower to learner with single step? |
After PD enables joint consensus, joint consensus will not be used for changes that only have a single demote. But PD did not produce such scheduling before. DemoteFollower must be used as recorded in pd#4140, which is supported in v5.3.0. |
|
@BusyJay @NingLin-P |
|
Isn't just rejecting the proposal should be enough? |
/type bug |
I see your question. It feels good to me. /cc @NingLin-P |
@HunDunDM I have submit a PR to solve this problem, would you like to help me review the code? |
lgtm |
fixed by tikv/pd#4534 |
Bug Report
What version of TiKV are you using?
What operating system and CPU are you using?
x86 linux
Steps to reproduce
pd-ctl config set region-schedule-limit 0
pd-ctl config placement-rules enable
pd-ctl config placement-rules rule-bundle save --in="rules.json"
What did you expect?
followers demoted to learner
What did happened?
no learners from the pd monitor panel.
pd error observed
tikv error observed
The text was updated successfully, but these errors were encountered: