Skip to content
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

Too many MemberList request after PD lost leader for a while #46770

Closed
HuSharp opened this issue Sep 8, 2023 · 0 comments · Fixed by #46769
Closed

Too many MemberList request after PD lost leader for a while #46770

HuSharp opened this issue Sep 8, 2023 · 0 comments · Fixed by #46769

Comments

@HuSharp
Copy link
Contributor

HuSharp commented Sep 8, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

use. pd failpoint binary, and ingest the failpoint.

  1. enable fail point, like gRPC is throttling, cannot read from etcd.
    curl -X PUT -d 'return(10)' http://tc-pd-1.tc-pd-peer.csn-simulator-big-cluster-vd62g.svc:2379/pd/api/v1/fail/github.com/tikv/pd/pkg/etcdutil/SlowEtcdKVGet

  2. simulate pd lost leader
    curl -X PUT -d 'return("2346857576170797299")' http://tc-pd-1.tc-pd-peer.csn-simulator-big-cluster-vd62g.svc:2379/pd/api/v1/fail/github.com/tikv/pd/server/exitCampaignLeader

2. What did you expect to see? (Required)

we can add backoff mechanism to sleep when an error is encountered.

3. What did you see instead (Required)

Grpc request GetMember keeps high:
image

4. What is your TiDB version? (Required)

master

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

Successfully merging a pull request may close this issue.

3 participants