Repository navigation
[trunk]PXC-5203: Cluster disruption or deadlock with LOCK TABLES/INSTANCE FOR BACKUP misuse - #2368
Conversation
PXC-5223 Packaging tasks for release - PXC 9.7.1
b0a5d0c to
c3282f2
Compare
Jenkins results — trunkAI job build 7 · Debug · ubuntu:noble · commit This change's test passed
It runs on the galera-small worker, which completed normally, so this verdict is Caveat — the run is incompleteStage Test - 5 (galera-big) was ABORTED ~69 min in; the other seven stages If you want a complete trunk run for the record, re-triggering is cheap — say the word. 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"
c3282f2 to
e0d55a9
Compare
e0d55a9 to
76ecc2f
Compare
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
trunkline, via the 9.7 line (#2367).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/68/
Compatibility & upgrade impact
sql/wsrep_mysqld.cclogic only.