Skip to content

MDEV-32633: Fix Galera cluster <-> native replication interaction#3161

Closed
denis-protivensky wants to merge 1 commit intoMariaDB:10.5from
mariadb-corporation:10.5-MDEV-32633
Closed

MDEV-32633: Fix Galera cluster <-> native replication interaction#3161
denis-protivensky wants to merge 1 commit intoMariaDB:10.5from
mariadb-corporation:10.5-MDEV-32633

Conversation

@denis-protivensky
Copy link
Copy Markdown

  • The Jira issue number for this PR is: MDEV-32633

GTID events are applied without a running server transaction, we need to set next transaction ID for Wsrep transaction.

The whole Galera cluster now has a single GTID value (including the server ID throughout the cluster), fix the config accordingly.

Add force restart so that repeated MTR test execution prints consistent GTID values, otherwise they would have been recovered from the previous run.

Release Notes

The fix is for versions 10.5 upwards.

How can this PR be tested?

Re-enabled previously failing MTR test.

Basing the PR against the correct MariaDB version

  • This is a new feature and the PR is based against the latest MariaDB development branch.
  • This is a bug fix and the PR is based against the earliest maintained branch in which the bug can be reproduced.

PR quality check

  • I checked the CODING_STANDARDS.md file and my PR conforms to this where appropriate.
  • For any trivial modifications to the PR, I am ok with the reviewer making the changes themselves.

GTID events are applied without a running server transaction,
we need to set next transaction ID for Wsrep transaction.

The whole Galera cluster now has a single GTID value (including
the server ID throughout the cluster), fix the config accordingly.

Add force restart so that repeated MTR test execution prints
consistent GTID values, otherwise they would have been recovered
from the previous run.
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@janlindstrom janlindstrom added the Codership Codership Galera label Mar 28, 2024
@sysprg
Copy link
Copy Markdown
Contributor

sysprg commented Jun 4, 2024

Thanks, fixes merged with head revision:
0cc9b49
a483872
c21aa48

@sysprg sysprg closed this Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Codership Codership Galera

Development

Successfully merging this pull request may close these issues.

4 participants