-
Notifications
You must be signed in to change notification settings - Fork 720
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
Cancel LoadRegionsOnce
when exits WatchLeader
#3936
Comments
/remove-severity Moderate |
@mayjiang0203: These labels are not set on the issue: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
ref tikv#3936 Signed-off-by: disksing <i@disksing.com>
* This is an automated cherry-pick of #4175 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> * resolve conflicts Signed-off-by: disksing <i@disksing.com> * fix compile ref #3936 Signed-off-by: disksing <i@disksing.com> * fix test Signed-off-by: disksing <i@disksing.com> * fix build Signed-off-by: disksing <i@disksing.com> Co-authored-by: disksing <i@disksing.com> Co-authored-by: ShuNing <nolouch@gmail.com>
Bug Report
When the PD starts, if there is a leader (or if all PDs restart at the same time and etcd still has the leader key left over from the restart), the PD enters the follower state and loads the region from the region storage and starts the region syncer client to synchronize the region.
If all PDs are restarted at the same time, or if the old leader steps down, the newly started PD cannot start the election until the region is loaded.
What version of PD are you using (
pd-server -V
)?master
The text was updated successfully, but these errors were encountered: