not support xengine,if the default engine is xengine, gh-ost occurs: ERROR Error 1105: Unsupported collation on string indexed column hint
Mantenedores costumam responder em até 10 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 45/100
Direção de pesquisa
Comece reproduzindo a definição de tabela xengine relatada e rastreie o caminho de criação da tabela changelog que produz o erro de collation não suportada. Verifique como o gh-ost copia as definições de colunas String indexadas e, em seguida, confirme que a criação de changelog é bem-sucedida para este schema sem afetar os mecanismos MySQL compatíveis.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
root cause is xengine is not support ascii CHARACTER
mysql> CREATE TABLE _test_26_ghc ( id bigint(20) NOT NULL AUTO_INCREMENT, last_update timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, hint varchar(64) CHARACTER SET ascii NOT NULL, value varchar(4096) CHARACTER SET ascii NOT NULL, PRIMARY KEY (id), UNIQUE KEY hint_uidx (hint) ) ENGINE=xengine AUTO_INCREMENT=256 DEFAULT CHARSET=utf8mb4;
ERROR 1105 (HY000): Unsupported collation on string indexed column hint. Consider change to other collation (binary, gbk_bin, gbk_chinese_ci, latin1_bin, utf8_bin, utf8_general_ci, utf8mb4_0900_ai_ci, utf8mb4_bin, utf8mb4_general_ci).
mysql>
errors:
2025-09-28 15:13:46 INFO starting gh-ost 1.1.4
2025-09-28 15:13:46 INFO Migrating sbtest.test_26
2025-09-28 15:13:46 INFO inspector connection validated on xxxxx:3306
2025-09-28 15:13:46 INFO User has REPLICATION CLIENT, REPLICATION SLAVE privileges, and has ALL privileges on sbtest.*
2025-09-28 15:13:46 INFO binary logs validated on xxxxx:3306
2025-09-28 15:13:46 INFO Inspector initiated on xxxxx:3306, version 8.0.13
2025-09-28 15:13:46 INFO Table found. Engine=XENGINE
2025-09-28 15:13:46 INFO Estimated number of rows via EXPLAIN: 20
2025-09-28 15:13:46 INFO Master forced to be xxxxx:3306
2025-09-28 15:13:46 INFO log_slave_updates validated on xxxxx:3306
2025-09-28 15:13:46 INFO streamer connection validated on xxxxx:3306
[2025/09/28 15:13:46] [info] binlogsyncer.go:133 create BinlogSyncer with config {99999 mysql xxxxx 3306 dba false false false UTC true 0 0s 0s 0 false}
2025-09-28 15:13:46 INFO Connecting binlog streamer at mysql-bin.000005:1014
[2025/09/28 15:13:46] [info] binlogsyncer.go:354 begin to sync binlog from position (mysql-bin.000005, 1014)
[2025/09/28 15:13:46] [info] binlogsyncer.go:203 register slave for master server xxxxx:3306
[2025/09/28 15:13:46] [info] binlogsyncer.go:723 rotate to (mysql-bin.000005, 1014)
2025-09-28 15:13:46 INFO rotate to next log from mysql-bin.000005:0 to mysql-bin.000005
2025-09-28 15:13:46 INFO applier connection validated on xxxxx:3306
2025-09-28 15:13:46 INFO applier connection validated on xxxxx:3306
2025-09-28 15:13:46 INFO will use time_zone='+08:00' on applier
2025-09-28 15:13:46 INFO Examining table structure on applier
2025-09-28 15:13:46 INFO Applier initiated on xxxxx:3306, version 8.0.13
2025-09-28 15:13:46 INFO Dropping table sbtest._test_26_gho
2025-09-28 15:13:46 INFO Table dropped
2025-09-28 15:13:46 INFO Dropping table sbtest._test_26_ghc
2025-09-28 15:13:46 INFO Table dropped
2025-09-28 15:13:46 INFO Creating changelog table sbtest._test_26_ghc
2025-09-28 15:13:46 ERROR Error 1105: Unsupported collation on string indexed column hint. Consider change to other collation (binary, gbk_bin, gbk_chinese_ci, latin1_bin, utf8_bin, utf8_general_ci, utf8mb4_0900_ai_ci, utf8mb4_bin, utf8mb4_general_ci).
2025-09-28 15:13:46 ERROR Unable to create changelog table, see further error details. Perhaps a previous migration failed without dropping the table? OR is there a running migration? Bailing out
2025-09-28 15:13:46 INFO Tearing down inspector
2025-09-28 15:13:46 INFO Tearing down applier
2025-09-28 15:13:46 INFO Tearing down streamer
2025-09-28 15:13:46 FATAL Error 1105: Unsupported collation on string indexed column hint. Consider change to other collation (binary, gbk_bin, gbk_chinese_ci, latin1_bin, utf8_bin, utf8_general_ci, utf8mb4_0900_ai_ci, utf8mb4_bin, utf8mb4_general_ci).
- Linguagem predominante
- Go
- Estrelas
- 13.6k
- Forks
- 1.4k
- Merge médio
- 9d 19h
- PRs com merge (30d)
- 1
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/gh-ost
-
`--resume` without `--execute` drops the ghost table it correctly skipped alteringTalvez já em andamento @ajm188 assumiu há 56 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 10 dias
-
[Suggestion] Apply simple validation to alter commandTalvez já em andamento @drkemp187 assumiu há 106 dias. Abertaenhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
github/gh-ost#1431 · 4 comentários ·
Mantenedores costumam responder em até 10 dias
-
Migration hangs when --attempt-instant-ddl succeedsTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 30/100
Mantenedores costumam responder em até 10 dias
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
Mantenedores costumam responder em até 10 dias
-
Atomic cut-over always fails on MySQL 9.1+: information_schema.processlist errors out (3854) while another session runs a non-BMP utf8mb4 statementTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
github/gh-ost#1780 · 1 comentário ·
Mantenedores costumam responder em até 10 dias
Todas as issues de github/gh-ost
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
oxc-project/tsgolint#1362 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
hashicorp/terraform-provider-google#30703 ·
Mantenedores costumam responder em até 1 dia
-
UpdateSchema.BuildUpdates should select newly added schemas with schema-id: -1Talvez já em andamento @nisan1101 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
apache/iceberg-go#2586 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
FR: update golang.org/x/sys to v0.50.0Talvez já em andamento @wrenix assumiu hoje. Abertafr needs-triage
Dificuldade 2/5 Menos de uma hora Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
[Docs] Four internal links return 404 (Models concept, Contributing to Docs, Providers reference)Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
meshery/meshery#23520 · 1 comentário ·
Mantenedores costumam responder em até 1 dia