mariadb/storage/innobase
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
..
btr MDEV-13626: Import and adjust innodb.blob-crash 2019-07-02 15:18:12 +03:00
buf MDEV-14154: Remove ut_time_us() 2019-07-23 17:25:02 +03:00
data MDEV-19292 "Row size too large" error when creating table with lots columns when row format is DYNAMIC or COMPRESSED 2019-07-05 17:02:21 +03:00
dict MDEV-19292 "Row size too large" error when creating table with lots columns when row format is DYNAMIC or COMPRESSED 2019-07-05 17:02:21 +03:00
eval Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
fil MDEV-14154: Remove ut_time_us() 2019-07-23 17:25:02 +03:00
fsp Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
fts Merge 10.1 into 10.2 2019-05-13 18:48:28 +03:00
fut Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
gis Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ha Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
handler MDEV-14154: Remove ut_time_us() 2019-07-23 17:25:02 +03:00
ibuf MDEV-17228 Encrypted temporary tables are not encrypted 2019-06-28 19:07:59 +05:30
include MDEV-14154: Remove ut_time_us() 2019-07-23 17:25:02 +03:00
lock Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
log MDEV-19471 Add ASAN-poisoned redzones for mem_heap_t 2019-07-19 13:28:03 +03:00
mach Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
mem Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
mtr mtr_t::is_block_dirtied(): Define inline 2019-06-16 15:55:09 +03:00
mysql-test/storage_engine Fix for MDEV-17449, typo in error message (#1146) 2019-03-24 21:24:28 +04:00
os MDEV-19725 Incorrect error handling in ALTER TABLE 2019-06-10 18:15:25 +03:00
page MDEV-14154: Remove ut_time_us() 2019-07-23 17:25:02 +03:00
pars Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
que Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
read Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
rem Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
row 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
srv MDEV-14154: Remove ut_time_us() 2019-07-23 17:25:02 +03:00
sync Remove unnecessary pointer indirection for rw_lock_t 2019-05-13 18:46:12 +03:00
trx MDEV-14154: Remove ut_time_us() 2019-07-23 17:25:02 +03:00
ut MDEV-14154: Remove ut_time_us() 2019-07-23 17:25:02 +03:00
bzip2.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
CMakeLists.txt Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
compile-innodb Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
COPYING.Google
COPYING.Percona
innodb.cmake Merge 10.1 into 10.2 2019-03-27 12:26:11 +02:00
lz4.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
lzma.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
lzo.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
plugin_exports
snappy.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00