summaryrefslogtreecommitdiff
path: root/randgen/conf
diff options
context:
space:
mode:
authorDaniele Sciascia <daniele.sciascia@galeracluster.com>2022-05-11 14:33:20 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2022-05-16 12:17:13 +0300
commit8d12dd8f503282179a078f2f883b88f6ccee5ebd (patch)
tree00aed60c4d85e95c66d56fa7c372f9181f26a5f0 /randgen/conf
parent65eea2315ffda0c2d5b48ef09069e10e777b8619 (diff)
downloadmariadb-git-8d12dd8f503282179a078f2f883b88f6ccee5ebd.tar.gz
MDEV-28053 Sysbench data load crashes Galera secondary node in async master slave setup
This patch fixes a problem that arises when a Galera node acts as a replica for native replication. When parallel applying is enabled, it is possible to end up with attempts to write binlog events with gtids out of order. This happens because when multiple events are delivered from the native replication stream and applied in concurrently, it is for them to be replicated to the Galera cluster in an order which is different from the original order in which they were committed in the aync replication master. To correct this behavior we now wait_for_prior_commit() before replicating changes though galera. As a consequence, parallel appliers may apply events in parallel until the galera replication step, which is now serialized.
Diffstat (limited to 'randgen/conf')
0 files changed, 0 insertions, 0 deletions