Repository navigation
[9.7]PXC-5203: Cluster disruption or deadlock with LOCK TABLES/INSTANCE FOR BACKUP misuse - #2367
Merged
Merged
Conversation
(8.4)PXC-5229: WSREP applier threads should never have tx_read_only=true
jaideepkarande
force-pushed
the
PXC-5203-9.7
branch
from
September 14, 2026 18:32
f77c739 to
5896543
Compare
jaideepkarande
marked this pull request as ready for review
September 14, 2026 19:08
Contributor
Author
Jenkins results — 9.7AI job build 6 · Debug · ubuntu:noble · commit This change's test passed
Failures — none related to this change
|
…R BACKUP misuse https://perconadev.atlassian.net/browse/PXC-5203 A session that ran its own DDL/DML while holding LOCK TABLES FOR BACKUP was replicated via TOI before the local backup-lock check rejected it, so peers applied the DDL while the originator failed it locally -- causing a Galera "inconsistency detected" vote and node eviction. Resolution: Similar issue was already fixed for "LOCK INSTANCE FOR BACKUP" extended the condition for "LOCK TABLES FOR BACKUP"
jaideepkarande
force-pushed
the
PXC-5203-9.7
branch
from
October 13, 2026 17:28
5896543 to
d85c3f7
Compare
jaideepkarande
force-pushed
the
PXC-5203-9.7
branch
from
October 13, 2026 18:57
d85c3f7 to
a9e7fdf
Compare
Contributor
Author
|
Ubuntu azure error is different: |
kamil-holubicki
approved these changes
Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cluster disruption or deadlock with LOCK TABLES/INSTANCE FOR BACKUP misuse
https://perconadev.atlassian.net/browse/PXC-5203
Propagation of the 8.4 fix (#2318) to the
9.7line.Problem
A session that ran its own DDL/DML while holding
LOCK TABLES FOR BACKUPwasreplicated via TOI before the local backup-lock check rejected it, so peers
applied the DDL while the originator failed it locally — causing a Galera
"inconsistency detected" vote and node eviction.
Resolution
The same issue was already fixed for
LOCK INSTANCE FOR BACKUP; this extends thatcondition to
LOCK TABLES FOR BACKUP.Testing
Jenkins: https://pxc.cd.percona.com/job/pxc-8.x-pipeline-parallel-mtr-AI/67/
Compatibility & upgrade impact
sql/wsrep_mysqld.cclogic only.