funky-eyes commented on code in PR #7925:
URL: https://github.com/apache/incubator-seata/pull/7925#discussion_r2714938665
##########
script/server/db/mysql.sql:
##########
@@ -94,7 +94,7 @@ CREATE TABLE IF NOT EXISTS `vgroup_table`
(
`vGroup` VARCHAR(255),
`namespace` VARCHAR(255),
- `cluster` VARCHAR(255),
- UNIQUE KEY `idx_vgroup_namespace_cluster` (`vGroup`,`namespace`,`cluster`)
+ `cluster_name` VARCHAR(255),
Review Comment:
If we rename the column cluster to cluster_name,
what should we do with the existing vgroup data that has already been
migrated to NamingServer for transaction group management?
How should the migration process to the new table structure be handled?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]