-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
large reorg sql execute failed duiring upgrade from v8.3.0 to v8.4.0 #56757
Comments
/severity critical |
The error is here, found by search in "org" level in GitHub. I guess the reason is PD ScanRegion API does not have internal retry and caller forgets to handle it like |
Same cause as tikv/pd#8442 |
If the region information is loaded from the local disk and the current leader has not yet reported a heartbeat to PD, the region information scanned at this time will not include the leader. The lighting has encountered similar issues before #52822. Need to add retry logic when no leader region information is returned. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
tiup.yaml is as follows:
After restore some data from S3, do large reorg:
Duiring sql execution, do tiup upgrade:
2. What did you expect to see? (Required)
large reorg sql execute success after upgrade
3. What did you see instead (Required)
It seems like ddl job not paused duiring upgrade!
sql execute failed:
Message: "receive Regions with no peer"
4. What is your TiDB version? (Required)
tiup upgrade tidb from v8.3.0 to v8.4.0-pre
The text was updated successfully, but these errors were encountered: