-
Notifications
You must be signed in to change notification settings - Fork 727
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
bug: PD should return err if cluster-id is zero . #5411
Comments
/assign @HuSharp |
@bufferflies: GitHub didn't allow me to assign the following users: HuSharp. Note that only tikv members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. 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 kubernetes/test-infra repository. |
close #5411 Signed-off-by: bufferflies <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
close tikv#5411 Signed-off-by: ti-chi-bot <[email protected]>
close tikv#5411 Signed-off-by: ti-chi-bot <[email protected]>
close tikv#5411 Signed-off-by: ti-chi-bot <[email protected]>
close tikv#5411 Signed-off-by: ti-chi-bot <[email protected]>
close #5411, ref #5412 Signed-off-by: bufferflies <[email protected]> Co-authored-by: bufferflies <[email protected]>
close #5411, ref #5412 Signed-off-by: bufferflies <[email protected]> Co-authored-by: bufferflies <[email protected]>
close #5411, ref #5412 Signed-off-by: bufferflies <[email protected]> Co-authored-by: bufferflies <[email protected]>
Bug Report
PD should return err if the cluster id is not ready.
tikv log: 2022/08/06 21:24:57.425 +00:00 no longer belongs to cluster 7128727844455161346, it is in 0
pd log:[2022/08/06 21:24:57.435 +00:00] [INFO] [server.go:376] ["init cluster id"] [cluster-id=7128727844455161346]
related code:
pd/server/grpc_service.go
Lines 103 to 145 in 989134e
and
pd/server/grpc_service.go
Lines 1506 to 1511 in 989134e
What did you do?
transfer leader
What did you expect to see?
normal
What did you see instead?
tikv panic, the log is:
2022/08/06 21:24:57.425 +00:00 no longer belongs to cluster 7128727844455161346, it is in 0
What version of PD are you using (
pd-server -V
)?master
The text was updated successfully, but these errors were encountered: