-
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
Adding an index failed with DXF enabled and max-index-length set in one TiDB node. #53281
Comments
I know set the max-index-length configuration in one of tidb node is unreasonable. But i think the ddl worker can't panic at least. It might make more sense to print more directional information. |
Except for the scenario described by the issue. In addition, the index creation job was first executed in the background and changed the value of this configuration so that it would not pass the “sumLength > maxIndexLength” which is also a issue (although this is a very rare case). |
Bug Report
Adding an index failed with DXF enabled and max-index-length set in one TiDB node.
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
No panic logs were printed in the DDL owner's log, and no cancellation information for DDL was printed in the command terminal.
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
v8.0.0
The text was updated successfully, but these errors were encountered: