-
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
Checks for the region label id should be more robust #33665
Comments
cc @rleungx |
It is expected behavior, we recommend using TiDB to change attributes and if you want to use PD API in a TiDB cluster, the ID should meet the TiDB encoding rule. |
TiDB needs tidb/executor/inspection_result.go Lines 1175 to 1193 in ec63787
|
Thanks for the explanation, I understand this behavior, but the question is whether it makes more sense for tidb to display the legal row before reporting an error when there is an illegal id. For the above example:
|
Because the attributes are only supported in the table level now, the above example breaks this assumption. |
I think
I think warning is ok. |
In the latest version, tidb reports decode errors due to changes in this pr. MySQL [INFORMATION_SCHEMA]> select * from information_schema.attributes;
ERROR 1105 (HY000): decode tableID from key m in rule tidb/meta/basic failed |
I'd like to fix this issue. we will do the following thing on TiDB:
For table labels which are not created by |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Run the following command from the mysql client:
2. What did you expect to see? (Required)
or something like
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: