[MDEV-32447] Using check_constraint_checks=OFF can break replication Created: 2023-10-11 Updated: 2023-10-17 Resolved: 2023-10-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.6 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I've tried this on 10.6 but other versions are likely to be affected. Put this into mysql-test/suite/rpl/t/rpl_check.test :
Run the test and it will fail with:
|
| Comments |
| Comment by Sergei Golubchik [ 2023-10-11 ] |
|
I don't think it's a bug. One can also add a UNIQUE index on the slave side and insert a conflicting value on the master — it'll also break replication. There are many ways to break replication, if one really wants to do it. One can simply do STOP SLAVE too. |