mariadb/storage/innobase
Jan Lindström 169def14f6 MDEV-30413 : run sequence nextval got [Note] WSREP: MDL BF-BF conflict and [ERROR] Aborting
Sequence objects are implemented using special tables.
These tables do not have primary key and only one row.
NEXTVAL is basically update from existing value to new
value. In Galera this could mean that two write-sets
from different nodes do not conflict and this could
lead situation where write-sets are executed
concurrently and possibly in wrong seqno order.

This is fixed by using table-level exclusive key for
SEQUENCE updates. Note that this naturally works
correctly only if InnoDB storage engine is used for
sequence.

This fix does not contain a test case because while
it is possible to syncronize appliers using dbug_sync
it was too hard to syncronize MDL-lock requests to
exact objects. Testing done for this fix is documented
on MDEV.

Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
2023-03-30 13:32:44 +02:00
..
btr Merge 10.5 into 10.6 2023-03-22 15:54:45 +02:00
buf MDEV-30936 clang 15.0.7 -fsanitize=memory fails massively 2023-03-28 11:44:24 +03:00
data Merge 10.4 into 10.5 2022-10-25 11:26:37 +03:00
dict Merge 10.5 into 10.6 2023-03-28 15:25:52 +03:00
eval MDEV-27336 Crash on DROP DATABASE due to out-of-bounds result from InnoDB SUBSTR() 2021-12-21 17:33:26 +02:00
fil MDEV-30936 fixup 2023-03-28 15:10:32 +03:00
fsp MDEV-30638 Deadlock between INSERT and InnoDB non-persistent statistics update 2023-02-16 08:30:20 +02:00
fts Merge 10.5 into 10.6 2023-03-28 15:25:52 +03:00
fut MDEV-13542: Crashing on corrupted page is unhelpful 2022-06-06 14:03:22 +03:00
gis MDEV-26827 Make page flushing even faster 2023-03-16 17:19:58 +02:00
ha
handler MDEV-30413 : run sequence nextval got [Note] WSREP: MDL BF-BF conflict and [ERROR] Aborting 2023-03-30 13:32:44 +02:00
ibuf Merge 10.5 into 10.6 2023-03-10 09:35:50 +02:00
include MDEV-30413 : run sequence nextval got [Note] WSREP: MDL BF-BF conflict and [ERROR] Aborting 2023-03-30 13:32:44 +02:00
lock MDEV-30357 Performance regression in locking reads from secondary indexes 2023-03-16 16:00:45 +02:00
log MDEV-26827 Make page flushing even faster 2023-03-16 17:19:58 +02:00
mem MDEV-27058: Reduce the size of buf_block_t and buf_page_t 2021-11-18 17:47:19 +02:00
mtr MDEV-30638 Deadlock between INSERT and InnoDB non-persistent statistics update 2023-02-16 08:30:20 +02:00
mysql-test/storage_engine
os MDEV-30936 clang 15.0.7 -fsanitize=memory fails massively 2023-03-28 11:44:24 +03:00
page Merge 10.5 into 10.6 2023-03-22 15:54:45 +02:00
pars MDEV-13542: Crashing on corrupted page is unhelpful 2022-06-06 14:03:22 +03:00
que Merge 10.5 into 10.6 2023-03-28 15:25:52 +03:00
read MDEV-29612 ReadViewBase::snapshot() misses an optimization 2022-10-06 13:14:16 +03:00
rem Merge 10.5 into 10.6 2023-03-10 09:35:50 +02:00
row MDEV-30413 : run sequence nextval got [Note] WSREP: MDL BF-BF conflict and [ERROR] Aborting 2023-03-30 13:32:44 +02:00
srv MDEV-26827 Make page flushing even faster 2023-03-16 17:19:58 +02:00
sync Merge 10.4 into 10.5 2022-04-21 15:33:50 +03:00
trx MDEV-30936 clang 15.0.7 -fsanitize=memory fails massively 2023-03-28 11:44:24 +03:00
unittest MDEV-27956 hardware lock ellision on s390x/ppc64{,le} 2022-03-11 10:42:27 +11:00
ut Merge 10.5 into 10.6 2022-11-23 18:13:28 +02:00
.clang-format-old
bzip2.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
CMakeLists.txt Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
COPYING.Google
COPYING.Percona
lz4.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzma.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzo.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
snappy.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00