mariadb/mysql-test/suite/galera_sr/t
Jan Lindström 814787f4c2 MDEV-34117 : Assertion `! thd->in_sub_stmt' failed in bool trans_rollback_stmt(THD*)
Problem was that user could drop streaming replication table
when streaming replication was used.

Fixed by not allowing user to drop streaming replication
table when galera is enabled. When it is not enabled
super can drop it (as any table in mysql database).
Added checks for wsrep_trx_fragment_unit and wsrep_trx_fragment_size
variables so that streaming replication can't be enabled
when streaming replication table does not exists.

Fixed also bug when user is trying to disable streaming
replication by wsrep_trx_fragment_size=0 when it was
not enabled.
2025-11-03 10:45:56 +02:00
..
galera-features#56.test MDEV-18542 : galera_sr.galera-features#56: Test failure: signal 6; mysqltest: Can't connect to local MySQL server 2021-01-13 13:08:07 +02:00
galera_sr_bf_abort.inc Galera4 2019-01-23 15:30:00 +04:00
galera_sr_bf_abort.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_bf_abort_idle.test MDEV-33509 Failed to apply write set with flags=(rollback|pa_unsafe) 2024-03-26 05:56:37 +01:00
galera_sr_blob.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_cc_master.test galera mtr tests: fixes for test failures, 'cosmetic' changes and unification between versions 2025-02-12 12:25:09 +01:00
galera_sr_cc_no_primary.test Merge pull request #1222 from codership/10.4-clear-sr-bugfix 2019-03-11 16:33:58 +02:00
galera_sr_cc_slave.test MDEV-18109: Galera 4: run galera_sr test suite 2019-02-15 09:33:49 +02:00
galera_sr_concurrent.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_conflict.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_conflict_on_commit.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_conflict_on_commit2.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_conflict_with_rollback_master.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_create_drop.test MDEV-18587 Don't reject DDLs if streaming replication is on 2019-02-19 07:58:03 +02:00
galera_sr_ddl_master.test MDEV-20780 Fixes for failures on galera_sr_ddl_master (#1425) 2019-12-11 14:08:06 +02:00
galera_sr_ddl_schema.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_ddl_slave.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_ddl_unrelated.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_dupkey_error.test MDEV-25553 : Avoid unnecessary rollbacks with SR 2021-04-28 12:15:30 +03:00
galera_sr_fk_conflict.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_gtid-master.opt galera mtr tests: fixes for test failures, 'cosmetic' changes and unification between versions 2025-02-12 12:25:09 +01:00
galera_sr_gtid.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_insert_select.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_kill_all_nobootstrap.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_kill_all_norecovery.cnf galera mtr tests: unification of wsrep provider settings 2025-02-12 13:37:03 +01:00
galera_sr_kill_all_norecovery.test galera: synchronization changes to stop random test failures 2025-04-02 04:29:34 +02:00
galera_sr_kill_all_pcrecovery.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_kill_connection.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_kill_query.test MDEV-23611 : galera_sr.galera_sr_kill_query MTR failed: 15 instead of 0 on "SELECT COUNT(*) AS EXPECT_0 FROM mysql.wsrep_streaming_log;" 2020-09-09 16:31:05 +03:00
galera_sr_kill_slave.cnf galera mtr tests: unification of wsrep provider settings 2025-02-12 13:37:03 +01:00
galera_sr_kill_slave.test MDEV-23613 : galera_sr.galera_sr_kill_slave MTR failed: query 'LOCK TABLE t2 WRITE' failed: 1146: Table 'test.t2' doesn't exist 2020-09-09 16:31:05 +03:00
galera_sr_large_fragment-master.opt MDEV-20907 Set innodb_log_files_in_group=1 by default 2019-10-28 17:11:10 +02:00
galera_sr_large_fragment.test Disable ps-protocol second execution on test that do not support it 2023-12-22 14:29:44 +01:00
galera_sr_load_data.test MDEV-18109: Galera 4: run galera_sr test suite 2019-02-15 09:33:49 +02:00
galera_sr_load_data_splitting.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_log_bin-master.opt Galera4 2019-01-23 15:30:00 +04:00
galera_sr_log_bin.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_many_fragments.test Disable ps-protocol second execution on test that do not support it 2023-12-22 14:29:44 +01:00
galera_sr_multirow_rollback.combinations MDEV-21675: Data inconsistency after multirow insert rollback (#1474) 2020-03-21 09:17:28 +02:00
galera_sr_multirow_rollback.test MDEV-21675: Data inconsistency after multirow insert rollback (#1474) 2020-03-21 09:17:28 +02:00
galera_sr_myisam.test galera: synchronization changes to stop random test failures 2025-04-02 04:29:34 +02:00
galera_sr_mysqldump_sst.cnf galera mtr tests: unification of wsrep provider settings 2025-02-12 13:37:03 +01:00
galera_sr_mysqldump_sst.test galera mtr tests: synchronization of tests between branches 2025-02-12 11:30:14 +01:00
galera_sr_nonPK_and_PA.test MDEV-25551 applying crash with tables without PK 2021-05-26 07:41:05 +03:00
galera_sr_parallel_apply.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_rollback.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_rollback_retry.test MDEV-23617 : galera_sr.galera_sr_rollback_retry MTR failed: 1213: Deadlock found when trying to get lock 2020-09-14 18:17:07 +03:00
galera_sr_rollback_savepoint.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_rollback_statement.test Fixed and recorded galera_sr.galera_sr_rollback_statement 2019-02-25 08:32:16 +02:00
galera_sr_shutdown_master.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_shutdown_slave.test galera: synchronization changes to stop random test failures 2025-04-02 04:29:34 +02:00
galera_sr_slow.test Only apply wsrep_trx_fragment_size to InnoDB tables 2021-12-23 11:51:31 +02:00
galera_sr_small_gcache.cnf galera mtr tests: unification of wsrep provider settings 2025-02-12 13:37:03 +01:00
galera_sr_small_gcache.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_transaction_replay.test Galera4 2019-01-23 15:30:00 +04:00
galera_sr_unit_statements.test MDEV-34117 : Assertion `! thd->in_sub_stmt' failed in bool trans_rollback_stmt(THD*) 2025-11-03 10:45:56 +02:00
galera_sr_v1_row_events-master.opt Galera4 2019-01-23 15:30:00 +04:00
galera_sr_v1_row_events.test MDEV-22466 : Galera missing .test or .result files 2020-05-07 14:23:33 +03:00
galera_sr_ws_size.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
galera_sr_ws_size2.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
galera_var_ignore_apply_errors_sr.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
GCF-561.test MDEV-21517 : Galera test galera_sr.GCF-561 failure: Result length mismatch 2020-02-21 08:25:51 +02:00
GCF-571.test Galera4 2019-01-23 15:30:00 +04:00
GCF-572.test MDEV-36393 Test failure on galera_sr.GCF-572 2025-04-02 04:29:40 +02:00
GCF-580.test Galera4 2019-01-23 15:30:00 +04:00
GCF-585.test Galera4 2019-01-23 15:30:00 +04:00
GCF-597.test MDEV-23608 : galera_sr.GCF-597 MTR failed: query 'ROLLBACK' succeeded - should have failed with errno 1213 2020-09-09 16:31:05 +03:00
GCF-620.test Galera4 2019-01-23 15:30:00 +04:00
GCF-623.test Galera4 2019-01-23 15:30:00 +04:00
GCF-627.test MDEV-26571 : galera_sr.GCF-627 MTR failed: Result length mismatch 2021-09-23 09:51:24 +03:00
GCF-845.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
GCF-851.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
GCF-867.test Galera4 2019-01-23 15:30:00 +04:00
GCF-889.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
GCF-900.test MDEV-24500: Added wait condition to make sure table t1 is replicated to node_2. 2021-01-04 18:24:06 +02:00
GCF-1008.inc Add wait_condition to stabilize. 2019-10-25 12:32:11 +03:00
GCF-1008.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
GCF-1018.test Make test galera_sr.GCF-1018 deterministic (#1245) 2019-03-27 15:33:04 +02:00
GCF-1018B.test Galera4 2019-01-23 15:30:00 +04:00
GCF-1051.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
GCF-1060.test Galera4 2019-01-23 15:30:00 +04:00
MDEV-18585.cnf MDEV-18585 Avoid excessive Annotate_rows_log_events in binlog 2019-02-18 15:04:38 +02:00
MDEV-18585.test galera mtr tests: synchronization of tests between branches 2025-02-12 11:30:14 +01:00
MDEV-21613.cnf MDEV-21613 Failed to open table mysql.wsrep_streaming_log for writing 2021-09-14 11:38:03 +03:00
MDEV-21613.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
MDEV-22616.test MDEV-22616 CHECK TABLE fails with wsrep_trx_fragment_size > 0 (#1551) 2020-05-21 09:34:03 +03:00
MDEV-23623.test MDEV-23623 - Fix assertion in MTR test galera_sr.GCF-1051 2020-10-28 06:49:56 +02:00
MDEV-25226.test MDEV-25226 Assertion when wsrep_on set OFF with SR transaction 2021-04-05 09:10:23 +03:00
MDEV-25717.test MDEV-25717 Assertion `owning_thread_id_ == wsrep::this_thread::get_id()' 2021-08-18 12:28:11 +03:00
MDEV-25718.cnf MDEV-25718 Assertion `transaction.is_streaming()' failed 2021-09-06 08:16:06 +03:00
MDEV-25718.test MDEV-25718 addendum: stabilization of test success (especially for 11.4+) 2025-01-27 19:05:26 +01:00
MDEV-27553.test Fixup for MDEV-27553 2022-03-18 08:30:25 +02:00
MDEV-27615.test galera mtr tests: fixes for test failures, 'cosmetic' changes and unification between versions 2025-02-12 12:25:09 +01:00
MDEV-28971.test Merge 10.6 into 10.11 2025-03-27 08:01:47 +02:00
MDEV-30838.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
MDEV-30862.test MDEV-30862 Assertion `mode_ == m_high_priority' failed 2023-04-18 10:02:22 +02:00
MDEV-32051.test MDEV-32051 Failed to insert streaming client 2023-09-12 00:37:12 +02:00
MDEV-34836.test MDEV-34836: TOI on parent table must BF abort SR in progress on a child 2024-09-24 11:14:01 +02:00
MDEV-35281.test MDEV-35281 SR transaction crashes with innodb_snapshot_isolation 2024-11-29 08:06:32 +01:00
mdev_18631.cnf MDEV-18631 Added MTR test 2019-03-04 09:00:25 +02:00
mdev_18631.test MDEV-35344: post-fix correction for other galera tests 2024-11-06 04:59:10 +01:00
MENT-2038.test MENT-2038 Assert WSREP(thd) fails in wsrep_restore_kill_after_commit 2025-01-27 19:05:27 +01:00
MENT-2042.test galera: correction for MENT-2042 test 2025-02-12 11:30:15 +01:00
mysql-wsrep#215.test Fixed and recorded galera_sr.galera_sr_rollback_statement 2019-02-25 08:32:16 +02:00
mysql-wsrep-bugs-900.test galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
mysql-wsrep-features#8.test Galera4 2019-01-23 15:30:00 +04:00
mysql-wsrep-features#9.test Galera4 2019-01-23 15:30:00 +04:00
mysql-wsrep-features#14.test galera mtr tests: fixes for test failures, 'cosmetic' changes and unification between versions 2025-02-12 12:25:09 +01:00
mysql-wsrep-features#15.test Galera4 2019-01-23 15:30:00 +04:00
mysql-wsrep-features#22.test galera mtr tests: fixes for test failures, 'cosmetic' changes and unification between versions 2025-02-12 12:25:09 +01:00
mysql-wsrep-features#27.test Galera4 2019-01-23 15:30:00 +04:00
mysql-wsrep-features#32-master.opt Galera4 2019-01-23 15:30:00 +04:00
mysql-wsrep-features#32.test Galera4 2019-01-23 15:30:00 +04:00
mysql-wsrep-features#35.test MDEV-18265: Replace deprecated variable debug to debug_dbug on Galera tests 2019-04-06 12:26:54 +03:00
mysql-wsrep-features#93.test Galera4 2019-01-23 15:30:00 +04:00
mysql-wsrep-features#96.test galera mtr tests: fixes for test failures, 'cosmetic' changes and unification between versions 2025-02-12 12:25:09 +01:00
mysql-wsrep-features#136-master.opt Galera4 2019-01-23 15:30:00 +04:00
mysql-wsrep-features#136.test Galera4 2019-01-23 15:30:00 +04:00
mysql-wsrep-features#138.test Galera4 2019-01-23 15:30:00 +04:00
mysql-wsrep-features#148.test galera mtr tests: fixes for test failures, 'cosmetic' changes and unification between versions 2025-02-12 12:25:09 +01:00
mysql-wsrep-features#165.inc MDEV-28953 sporadic failures with galera_sr.mysql-wsrep-features#165 2023-12-21 21:06:28 +01:00
mysql-wsrep-features#165.test Galera4 2019-01-23 15:30:00 +04:00