You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
handle-error test replace -s mysql-replica-02 "alter table shardddl1.tb1 add new_col1 int default 0;"
What did you expect to see?
task continue
What did you see instead?
error occur
there will be conflicts if DDLs [ALTER TABLE `shardddl`.`tb` ADD COLUMN `new_col1` INT DEFAULT 0] are applied to the downstream. old table info: CREATE TABLE `tbl`(`id` INT(11) NOT NULL, `new_col1` INT(11) DEFAULT -1, PRIMARY KEY (`id`)) CHARSET LATIN1 COLLATE LATIN1_BIN, new table info: CREATE TABLE `tbl`(`id` INT(11) NOT NULL, `new_col1` INT(11) DEFAULT 0, PRIMARY KEY (`id`)) CHARSET LATIN1 COLLATE LATIN1_BIN, RawCause: at tuple index 2: at map key \"new_col1\": at tuple index 0: distinct singletons (-1 vs 0)
Bug Report
Please answer these questions before submitting your issue. Thanks!
replace source2's ddl
task continue
error occur
we save new table info before detect conflict
when replace ddl, new ddl will be conflict with previous error ddl
The text was updated successfully, but these errors were encountered: