Issues
- Modify wsrep_row_upd_check_foreign_constraints() to remove the check for DELETEPXC-3352Resolved issue: PXC-3352Venkatesh Prasad
- Node stalls waiting on pre-commit seconds after taking over writer rolePXC-3291Resolved issue: PXC-3291Marcelo Altmann
- Added to the execution of Cleanup functions to remove CREATE USER from SHOW PROCESSLIST.PXC-3190Resolved issue: PXC-3190Marcelo Altmann
- Galera/SST is not looking default data directory location for SSL certsPXC-3146Resolved issue: PXC-3146KennT
- Modify to end mysqld process when the joiner fails during an SSTPXC-3145Resolved issue: PXC-3145
- FTWRL for specific tables not released properly on session exit leading to Node lockupPXC-3127Resolved issue: PXC-3127
- Strange behavior of DDL with FTWRLPXC-3126Resolved issue: PXC-3126
- BF abort for MDL conflict stuck when Thread Pool usedPXC-3118Resolved issue: PXC-3118Venkatesh Prasad
- mysql ping is not working with service mysql start command in Ubuntu 18.04PXC-3065Resolved issue: PXC-3065Evgeniy Patlan
- fatal error on a node in a cluster InnoDB: Assertion failurePXC-3049Resolved issue: PXC-3049Lalit Choudhary
- [ERROR] WSREP: invalid state MUST_CERT_AND_REPLAY (FATAL)PXC-2960Resolved issue: PXC-2960Lalit Choudhary
- 5.7 MTR; ASAN heap-use-after-free error running galera_as_master_gtid_change_master and galera_as_slave_autoincPXC-2919Resolved issue: PXC-2919
- Modified the netcat Configuration to Include the -N option, which is required by more recent versions of netcat. The option allows the shutdown of the network socket after the input EOF.PXC-2912Resolved issue: PXC-2912KennT
- BF aborting a stored procedure with an exception handler can hang PXCPXC-2910Resolved issue: PXC-2910
- ASAN error: heap-use-after-free in buf_read_page_low while running multiple LOAD DATAPXC-2743Resolved issue: PXC-2743
- Release Tasks PXC-5.7.28-31.41(RM-502)PXC-2731Resolved issue: PXC-2731Ramesh Sivaraman
- force flushing of binlog under pxc binlog emulation modePXC-2730Resolved issue: PXC-2730Krunal Bauskar
- Percona cluster with async gtid replicationPXC-2591Resolved issue: PXC-2591
- SQL run with wsrep_local_state_comment=Initialized should have proper ErrorPXC-2589Resolved issue: PXC-2589
19 of 19
When deleting/updating from a child table in a FK relationship, if a parent table has referenced row(s) locked, the operation on a child table will get locked and fail as soon as the parent table is unlocked. For UPDATE case, it's important to touch a column, which is a part of a constraint.
Reproduction:
setup
Session 1
Session 2
Session 1
Session 2
The timing of the actions doesn't matter (only the order), as don't matter the settings for lock timeouts.
The issue does not reproduce on a regular Percona Server 5.7.29.
There are two problems here:
DELETE on a child table gets locked, which doesn't happen on a regular PS. Maybe there's a reason for that.
DELETE/UPDATE locked on a child table will always get ERROR 1205. Effectively, once the operation is locked in this case, it'll never finish without an error.
Could be introduced by this commit https://github.com/percona/percona-xtradb-cluster/commit/fd8b7c0f151b97980de3378f7f52c2bfe0236867
Reproduces on PXC 5.7.28 and PXC 8.0.18. Doesn't reproduce on PXC 5.7.14, where the DELETE doesn't block at all.