mariadb/mysql-test/suite
Marko Mäkelä 4aa92911c7 MDEV-33802 Weird read view after ROLLBACK of another transaction
Even after commit b8a6719889 there
is an anomaly where a locking read could return inconsistent results.
If a locking read would have to wait for a record lock, then by the
definition of a read view, the modifications made by the current lock
holder cannot be visible in the read view. This is because the read
view must exclude any transactions that had not been committed at the
time when the read view was created.

lock_rec_convert_impl_to_expl_for_trx(), lock_rec_convert_impl_to_expl():
Return an unsafe-to-dereference pointer to a transaction that holds or
held the lock, or nullptr if the lock was available.

lock_clust_rec_modify_check_and_lock(),
lock_sec_rec_read_check_and_lock(),
lock_clust_rec_read_check_and_lock():
Return DB_RECORD_CHANGED if innodb_strict_isolation=ON and the
lock was being held by another transaction.

The test case, which is based on a bug report by Zhuang Liu,
covers the function lock_sec_rec_read_check_and_lock().

Reviewed by: Vladislav Lesin
2024-04-09 12:50:24 +03:00
..
archive Merge 10.5 into 10.6 2023-09-11 14:46:39 +03:00
atomic
binlog cleanup: remove SEARCH_TYPE from search_pattern_in_file.inc 2024-03-13 18:27:18 +01:00
binlog_encryption Merge 10.5 into 10.6 2024-03-18 17:07:32 +02:00
client
compat Merge 10.5 into 10.6 2024-03-27 15:00:56 +02:00
csv
encryption Merge branch '10.5' into 10.6 2024-03-13 21:02:34 +01:00
engines Fixed some mtr results found in Jenins after MDEV-333582 push 2024-03-06 15:16:03 +02:00
federated Merge 10.5 into 10.6 2024-02-07 13:51:03 +02:00
funcs_1 Merge branch '10.5' into 10.6 2024-01-31 18:04:03 +01:00
funcs_2
galera MDEV-33136: Properly BF-abort user transactions with explicit locks 2024-03-27 01:25:22 +01:00
galera_3nodes Merge 10.5 into 10.6 2024-02-13 20:42:59 +02:00
galera_3nodes_sr Merge 10.5 into 10.6 2024-02-13 20:42:59 +02:00
galera_sr Merge 10.5 into 10.6 2024-01-03 14:24:47 +02:00
gcol MDEV-26642/MDEV-26643/MDEV-32898 Implement innodb_snapshot_isolation 2024-03-20 09:48:03 +02:00
handler
heap
innodb MDEV-33802 Weird read view after ROLLBACK of another transaction 2024-04-09 12:50:24 +03:00
innodb_fts Merge branch '10.5' into 10.6 2024-03-13 21:02:34 +01:00
innodb_gis Merge branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
innodb_i_s
innodb_zip MDEV-33613 InnoDB may still hang when temporarily running out of buffer pool 2024-03-22 14:17:39 +02:00
jp
json Merge branch '10.5' into 10.6 2024-03-13 21:02:34 +01:00
large_tests
maria MDEV-25923: Aria parallel repair MY_THREAD_SPECIFIC mismatch in realloc 2024-03-15 15:55:07 +01:00
mariabackup Merge 10.5 into 10.6 2024-03-12 09:19:57 +02:00
mtr/t
mtr2
multi_source Fixed some mtr tests that failed on windows 2024-01-23 13:03:12 +02:00
optimizer_unfixed_bugs
parts Merge 10.5 into 10.6 2024-02-13 20:42:59 +02:00
perfschema MDEV-33620 Improve times and states in show processlist for replication 2024-03-08 15:23:17 +02:00
perfschema_stress
period Merge 10.5 into 10.6 2024-02-07 13:51:03 +02:00
plugins reorder the log columns for MDEV-27087 2024-01-23 21:34:43 +05:30
roles Merge 10.5 into 10.6 2023-11-15 14:10:21 +02:00
rpl MDEV-33668: More precise dependency tracking of XA XID in parallel replication 2024-04-09 11:42:34 +03:00
s3 update s3.partition result after 57ffcd686f 2024-03-14 11:43:13 +01:00
sql_sequence Merge branch '10.5' into 10.6 2024-01-11 12:59:22 +11:00
storage_engine
stress
sys_vars MDEV-26642/MDEV-26643/MDEV-32898 Implement innodb_snapshot_isolation 2024-03-20 09:48:03 +02:00
sysschema Merge 10.5 into 10.6 2024-03-12 09:19:57 +02:00
unit
vcol Merge branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
versioning Merge 10.5 into 10.6 2024-02-13 20:42:59 +02:00
wsrep Merge 10.5 into 10.6 2023-12-21 12:58:11 +02:00