diff options
author | sjaakola <seppo.jaakola@iki.fi> | 2021-05-24 18:58:57 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2021-05-26 07:41:05 +0300 |
commit | e212415690c78b1decc8d7b7bfdb715426c4e49f (patch) | |
tree | 2a1c2f4b3e17455628bd24e6f0cfda27a82566a6 /wsrep-lib | |
parent | 1dea7f79779d13695876b84ebecbf41c13d845cb (diff) | |
download | mariadb-git-e212415690c78b1decc8d7b7bfdb715426c4e49f.tar.gz |
MDEV-25551 applying crash with tables without PK
The underlying problem with MDEV-25551 turned out to be that
transactions having changes for tables with no primary key,
were not safe to apply in parallel. This is due to excessive locking
in innodb side, and even non related row modifications could end up
in lock conflict during applying.
The fix for MDEV-25551 has disabled parallel applying for tables with no PK.
This fix depends on change for wsrep-lib, where a separate PR allows
application to modify transaction flags in wsrep-lib.
This commit has also separate mtr test for verifying that transactions
modifying a table with no primary key, will not apply in parallel.
This test is a modified version of initial test created by Gabor Orosz,
the reporterr of MDEV-25551.
Another mtr test was added in galera_sr suite, for testing if modifying
tables with no primary key would causes issues for streaming replication
use cases.
Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
Diffstat (limited to 'wsrep-lib')
m--------- | wsrep-lib | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/wsrep-lib b/wsrep-lib -Subproject f271ad0c6e3c647df83c1d5ec9cd26d77cef233 +Subproject 85b815032145ef5c18b7a8931d84becf6df8cd1 |