mariadb/mysql-test/suite/galera
Daniele Sciascia 841763ecc0 MDEV-35018 MDL BF-BF conflict on DROP TABLE
DROP TABLE on child and UPDATE of parent table can cause an MDL BF-BF
conflict when applied concurrently.
DROP TABLE takes MDL locks on both child and its parent table, however
it only it did not add certification keys for the parent table.
This patch adds the following:
 * Append certification keys corresponding to all parent tables
   before DROP TABLE replication.
 * Fix wsrep_append_fk_parent_table() so that it works when it is
   given a table list containing temporary tables.
 * Make sure function wsrep_append_fk_parent_table() is only called
   for local transaction. That was not the case for ALTER TABLE.
 * Add a test case that verifies that UPDATE parent depends on
   preceeding DROP TABLE child.
 * Adapt galera_ddl_fk_conflict test to work with DROP TABLE as well.

Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
2024-12-18 12:11:02 +01:00
..
include Fix recovering state GTID in case log file contains non-text bytes - 2024-09-01 02:52:52 +02:00
r MDEV-35018 MDL BF-BF conflict on DROP TABLE 2024-12-18 12:11:02 +01:00
t MDEV-35018 MDL BF-BF conflict on DROP TABLE 2024-12-18 12:11:02 +01:00
disabled.def MDEV-32561: WSREP FSM failure: (postfix) - enable galera.galera_sequences 2024-12-12 07:27:38 +11:00
galera_2nodes.cnf mtr: don't store galera sst logs in /tmp/ 2024-05-12 10:13:39 +02:00
galera_2nodes_as_master.cnf MDEV-33523 Spurious deadlock error when wsrep_on=OFF 2024-06-06 19:19:34 +02:00
galera_2nodes_as_slave.cnf MDEV-33523 Spurious deadlock error when wsrep_on=OFF 2024-06-06 19:19:34 +02:00
galera_2x2nodes.cnf MDEV-33523 Spurious deadlock error when wsrep_on=OFF 2024-06-06 19:19:34 +02:00
galera_3nodes_as_slave.cnf MDEV-33523 Spurious deadlock error when wsrep_on=OFF 2024-06-06 19:19:34 +02:00
galera_4nodes.cnf MDEV-31888 : galera.galera_wan, galera.galera_vote_rejoin_* fail 2024-10-23 03:47:08 +02:00
my.cnf cleanup: remove galera/wsrep magic from mtr 2014-10-01 23:38:27 +02:00
suite.pm galera/suite.pm: perl warning 2024-04-13 16:28:13 +02:00