Closed huan11 closed 4 months ago
Thanks for contribute @huan11 .
Just to confirm that why we prefer to change remote_data_center
, data_center
, while keeping syn_publisher_groups
as the same, if the issue is varchar length related?
@NickNYU yes, UNIQUE KEY is too long which caused the issue.
UNIQUE KEY uk_table_key (data_center, remote_data_center),
@NickNYU yes, UNIQUE KEY is too long which caused the issue.
UNIQUE KEY uk_table_key (data_center, remote_data_center),
Awesome!! that's reasonable
Please send a Pull Request according to this question, thanks
The basic idea of the varchar length is a draft thought when I was defining the table, not a big deal. It is just in Ant Group we leverage OceanBase as default DB, and seems like OB has a high toleration than traditional DBs.
@NickNYU PR have been raised : )
PR has been merged, thx for contribution @huan11 I'll close this issue
Describe the bug
Env: MySQL version: Server version: 8.0.37 MySQL Community Server - GPL
Scripts: https://github.com/sofastack/sofa-registry/blob/master/create_table.sql
Expected behavior
Script shld be work well.
Actual behavior
When follow the guide (https://www.sofastack.tech/projects/sofa-registry/server-quick-start/ ), it failed at '2.启动 registry-integration' Step.
how to fix
reduce the width of column data_center and column remote_data_center. (change 512 to 255)
Environment
Env: MySQL version: Server version: 8.0.37 MySQL Community Server - GPL