Closed huan11 closed 4 months ago
Hi @huan11, welcome to SOFAStack community, Please sign Contributor License Agreement!
After you signed CLA, we will automatically sync the status of this pull request in 3 minutes.
The changes in the create_table.sql
file adjust the column lengths for data_center
and remote_data_center
within the multi_cluster_sync_info
table from 512 to 255 characters. This modification optimizes the storage by reducing the maximum allowed length of these strings.
File | Change Summary |
---|---|
...create_table.sql |
Updated data_center and remote_data_center columns' varchar length from 512 to 255 |
In the bytes of code and tables grand,
We trimmed the strings with gentle hand.
Data centers now fit just right,
Space saved without a fight.
Optimization, light and swift,
The code, it catches data's drift.
🌟✨🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@huan11 please sign CLA as guide, thx
@NickNYU I have already signed yesterday, seem your pipeline have some issue now.
Motivation:
Fix script issue when run under mysql
Reference:
SQL issue-[Script issue]: Specified key was too long; max key length is 3072 bytes
Summary by CodeRabbit
data_center
andremote_data_center
fields from 512 to 255 characters in themulti_cluster_sync_info
table, optimizing storage and improving performance.