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

Restore meet error: Unsupported collation when new collation is enabled: 'utf8mb4_0900_ai_ci' #39150

Closed
WangLe1321 opened this issue Nov 15, 2022 · 1 comment · Fixed by #39173
Labels

Comments

@WangLe1321
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. create a cluster with tidb config new_collations_enabled_on_first_bootstrap: false.
  2. create a table with collation 'utf8mb4_0900_ai_ci': create table books (idbigint auto_increment,name varchar(64), primary key (id)) CHARSET utf8mb4 COLLATE utf8mb4_0900_ai_ci;
  3. insert several records to the table.
  4. execute a full backup
  5. create another cluster tidb config new_collations_enabled_on_first_bootstrap: false.
  6. restore the backup to the new cluster

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

restore successfully

3. What did you see instead (Required)

restore failed with error Error: [ddl:1273]Unsupported collation when new collation is enabled: 'utf8mb4_0900_ai_ci'

4. What is your TiDB version? (Required)

v6.1.0

@WangLe1321 WangLe1321 added the type/bug The issue is confirmed as a bug. label Nov 15, 2022
@WangLe1321
Copy link
Contributor Author

/component br

@ti-chi-bot ti-chi-bot added the component/br This issue is related to BR of TiDB. label Nov 15, 2022
@WangLe1321 WangLe1321 changed the title Unsupported collation when new collation is enabled: 'utf8mb4_0900_ai_ci' when restore Restore with error: Unsupported collation when new collation is enabled: 'utf8mb4_0900_ai_ci' Nov 15, 2022
@WangLe1321 WangLe1321 changed the title Restore with error: Unsupported collation when new collation is enabled: 'utf8mb4_0900_ai_ci' Restore meet error: Unsupported collation when new collation is enabled: 'utf8mb4_0900_ai_ci' Nov 15, 2022
@ti-chi-bot ti-chi-bot added may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 labels Nov 16, 2022
@seiya-annie seiya-annie added severity/major and removed severity/critical may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 labels Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants