mariadb/mysql-test/suite
Brandon Nesterenko cd88b0831f DBAAS-7828: Primary/replica: configuration change of autocommit=0 can not be applied
Problem:
========
When the mysql.gtid_slave_pos table uses the InnoDB engine, and
mysqld starts, it reads the table and begins a transaction. After
reading the value, it should end the transaction and release all
associated locks. The bug reported in DBAAS-7828 shows that when
autocommit is off, the locks are not released, resulting in
indefinite hangs on future attempts to change gtid_slave_pos. In
particular, the transaction was not properly finalized because
thd->server_status was not updated to reflect the end of the
transaction.

Solution:
========
This patch updates the code to properly commit the transaction after
reading gtid_slave_pos during mysqld start-up.

Reviewed By:
============
Andrei Elkin <andrei.elkin@mariadb.com>
2022-03-24 12:00:40 -06:00
..
archive
binlog DBAAS-7828: Primary/replica: configuration change of autocommit=0 can not be applied 2022-03-24 12:00:40 -06:00
binlog_encryption Merge 10.2 into 10.3 2021-07-27 10:47:17 +03:00
compat MDEV-20699 fixup: Re-record compat/oracle.sp-package result 2021-09-29 15:16:04 +03:00
csv Fixed errors found by MSAN 2020-07-02 23:50:56 +03:00
encryption Merge 10.2 into 10.3 2022-02-25 10:43:38 +02:00
engines fix for engines/funcs/rpl_sp.test 2021-03-19 17:29:18 +01:00
federated Merge 10.2 into 10.3 2022-03-04 14:29:36 +02:00
funcs_1 Merge branch '10.2' into 10.3 2022-01-29 15:41:05 +01:00
funcs_2 Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
galera MDEV-27775 : Some Galera tests fail on FreeBSD due to "unknown signal 9" 2022-03-22 09:27:43 +02:00
galera_3nodes MDEV-24097: galera[_3nodes] suite tests in MTR sporadically fails 2021-12-23 14:19:44 +01:00
gcol Merge branch 10.2 into 10.3 2022-03-16 12:49:13 +11:00
handler
heap Merge 10.2 into 10.3 2020-04-15 09:56:03 +03:00
innodb Avoid shutdown timeout in innodb.undo_truncate 2022-03-11 16:14:06 +02:00
innodb_fts MDEV-27582 Fulltext DDL decrements the FTS_DOC_ID value 2022-03-03 19:03:31 +05:30
innodb_gis Merge 10.2 into 10.3 2022-02-14 08:49:11 +02:00
innodb_zip Merge 10.2 into 10.3 2022-02-17 10:53:58 +02:00
jp
json
large_tests
maria MDEV-17223 Assertion `thd->killed != 0' failed in ha_maria::enable_indexes 2022-02-16 17:16:10 +02:00
mariabackup MDEV-27534: mariabackup: missing line in the compress_qpress.result 2022-02-22 10:20:42 +01:00
mtr/t
mtr2
multi_source Merge 10.2 into 10.3 2020-08-21 19:18:34 +03:00
optimizer_unfixed_bugs MDEV-21360 global debug_dbug pre-test value restoration issues 2020-01-15 18:06:24 +01:00
parts Merge branch '10.2' into 10.3 2022-01-29 15:41:05 +01:00
perfschema Merge branch '10.2' into 10.3 2021-09-07 16:32:35 +03:00
perfschema_stress
plugins Merge branch '10.2' into 10.3 2022-01-29 15:41:05 +01:00
roles Merge 10.2 into 10.3 2021-10-21 13:41:04 +03:00
rpl Merge 10.2 into 10.3 2022-02-28 10:17:39 +02:00
sql_sequence MDEV-24617 OPTIMIZE on a sequence causes unexpected ER_BINLOG_UNSAFE_STATEMENT 2022-03-10 13:38:07 +02:00
storage_engine Merge 10.2 into 10.3 2020-08-21 19:18:34 +03:00
stress MDEV-22339 - Assertion `str_length < len' failed 2020-06-04 23:52:10 +02:00
sys_vars MDEV-27913 fixup: sys_vars.sysvars_innodb result 2022-02-25 10:30:04 +02:00
unit Merge 10.2 into 10.3 2021-10-21 17:39:34 +03:00
vcol Merge branch '10.2' into 10.3 2022-01-29 15:41:05 +01:00
versioning MDEV-27992 DELETE fails to delete record after blocking is released 2022-03-07 16:42:05 +03:00
wsrep MDEV-23328 Server hang due to Galera lock conflict resolution 2021-10-29 10:00:17 +03:00