mariadb/storage
Marko Mäkelä 6b58ee769f MDEV-35049: Fix bogus BTR_CUR_HASH_FAIL on contention
btr_search_guess_on_hash(): Only set BTR_CUR_HASH_FAIL on actual mismatch.
If the page latch cannot be acquired, the hash search might very well
have succeeded. Do not count that as a failure, that is, do not
unnecessarily invoke btr_search_update_hash_ref() after a normal search.
Set cursor->flag=BTR_CUR_HASH_ABORT if the current parameters of the
adaptive hash index are not suitable for the search and a call to
btr_cur_t::search_info_update() might help.

btr_cur_t::search_leaf(): Do not invoke search_info_update()
if btr_search_guess_on_hash() failed due to contention.

btr_cur_t::pessimistic_search_leaf(): Do not invoke search_info_update()
on the change buffer tree. Preivously, this condition was being checked
inside search_info_update().
2025-01-10 16:40:30 +02:00
..
archive cleanup: remove unconditional #ifdef's 2024-11-05 14:00:47 -08:00
blackhole Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
columnstore cleanup: extract transaction-related part of handlerton 2024-11-05 14:00:50 -08:00
connect Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
csv Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
example Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
federated Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
federatedx Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
heap Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
innobase MDEV-35049: Fix bogus BTR_CUR_HASH_FAIL on contention 2025-01-10 16:40:30 +02:00
maria Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
mroonga Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
myisam Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
myisammrg Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
oqgraph Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
perfschema Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
rocksdb Merge 11.7 into main 2025-01-09 13:46:06 +02:00
sequence cleanup: extract transaction-related part of handlerton 2024-11-05 14:00:50 -08:00
sphinx Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
spider Merge 11.7 into main 2025-01-09 13:46:06 +02:00
test_sql_discovery