Skip to content
/ server Public

MDEV-38787 wsrep_slave_fk_checks=OFF results in inconsistency#4638

Open
ayurchen wants to merge 1 commit intoMariaDB:10.6from
mariadb-corporation:10.6-MDEV-38787-wsrep-slave-fk-checks
Open

MDEV-38787 wsrep_slave_fk_checks=OFF results in inconsistency#4638
ayurchen wants to merge 1 commit intoMariaDB:10.6from
mariadb-corporation:10.6-MDEV-38787-wsrep-slave-fk-checks

Conversation

@ayurchen
Copy link
Contributor

Since ATM wsrep does not replicate any cascaded changes (because they are not binlogged in the upstream code) we have to rely on foreign checks on replicas to reproduce the cascade. Thus setting wsrep_slave_fk_checks=OFF will result in inconsistency in any setup where there are cascading relations. Mark this option as deprecated and make it a NOOP.

Since ATM wsrep does not replicate any cascaded changes (because they are
not binlogged in the upstream code) we have to rely on foreign checks on
replicas to reproduce the cascade. Thus setting wsrep_slave_fk_checks=OFF
will result in inconsistency in any setup where there are cascading relations.
Mark this option as deprecated and make it a NOOP.
@ayurchen ayurchen force-pushed the 10.6-MDEV-38787-wsrep-slave-fk-checks branch from 19580a5 to 096b58a Compare February 10, 2026 21:58
@gkodinov gkodinov added the External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements. label Feb 11, 2026
@gkodinov gkodinov self-assigned this Feb 11, 2026
@gkodinov gkodinov added MariaDB Corporation Codership Codership Galera and removed External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements. labels Feb 11, 2026
Copy link
Contributor

@janlindstrom janlindstrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please cherry-pick this to 10.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants