mariadb/storage
Thirunarayanan Balathandayuthapani 8fb39b2c35 MDEV-19870 gcol.innodb_virtual_debug_purge doesn't fail if row_vers_old_has_index_entry gives wrong result
1) Whenever purge thread tries to remove the secondary virtual index
entry, purge thread acquires metadata lock for the table and release
dict_operation_lock. After that, it retries the secondary index
deletion if MDL acquired successfully.

2) Inside row_vers_old_has_index_entry(), Change the safe_to_purge
to unsafe_to_purge goto statement. So it can be more appropriate to
return true if it is unsafe_to_purge.

3) Previously, row_vers_old_has_index_entry() returns false if InnoDB
fetched the MDL on the table for the first time. This check(two cases)
should checked only during purge thread. In row_purge_poss_sec(), again
InnoDB checks whether the MDL fetched for the first time. If it is then
InnoDB retry the secondary index deletion logic. So in that case,
InnoDB have to clean up the memory used inside row_vers_old_has_index_entry()
and shouldn't care about return value.
2019-07-24 16:45:05 +05:30
..
archive Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
blackhole MDEV-11094: Blackhole table updates on slave fail when row annotation is enabled 2019-05-29 17:35:29 +05:30
cassandra Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
connect Merge 10.1 into 10.2 2019-07-18 13:10:09 +03:00
csv Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
example Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
federated Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
federatedx Merge 10.1 into 10.2 2019-04-03 19:58:47 +03:00
heap imporve clang build 2019-06-25 13:21:36 +03:00
innobase MDEV-19870 gcol.innodb_virtual_debug_purge doesn't fail if row_vers_old_has_index_entry gives wrong result 2019-07-24 16:45:05 +05:30
maria Remove a conditionally unused declaration 2019-07-19 11:45:35 +03:00
mroonga fix clang warnings 2019-07-09 22:16:43 +03:00
myisam imporve clang build 2019-06-25 13:21:36 +03:00
myisammrg imporve clang build 2019-06-25 13:21:36 +03:00
oqgraph Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
perfschema imporve clang build 2019-06-25 13:21:36 +03:00
rocksdb MDEV#20107: rocksdb.check_ignore_unknown_options fails on OS X again 2019-07-19 21:24:28 +03:00
sequence Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
sphinx MDEV-16544 - crash in ha_sphinx::create() 2018-08-04 22:53:16 +01:00
spider Merge 10.1 into 10.2 2019-07-09 13:22:22 +03:00
test_sql_discovery Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
tokudb Merge 10.1 into 10.2 2019-06-12 10:30:01 +03:00
xtradb Merge 10.1 into 10.2 2019-07-23 16:34:04 +03:00