mariadb/storage/innobase/include
Thirunarayanan Balathandayuthapani 841e905f20 MDEV-31442 page_cleaner thread aborts while releasing the tablespace
After further I/O on a tablespace has been stopped
(for example due to DROP TABLE or an operation that
rebuilds a table), page cleaner thread tries to
flush the pending writes for the tablespace and
releases the tablespace reference even though it was not
acquired.

fil_space_t::flush(): Don't release the tablespace when it is
being stopped and closed

Thanks to Marko Mäkelä for suggesting this patch.
2023-06-09 18:15:33 +05:30
..
btr0btr.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
btr0btr.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
btr0bulk.h Merge 10.4 into 10.5 2021-04-14 11:35:39 +03:00
btr0cur.h Merge 10.4 into 10.5 2022-10-06 08:29:56 +03:00
btr0cur.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
btr0defragment.h Merge 10.4 into 10.5 2020-10-01 14:30:17 +03:00
btr0pcur.h Merge 10.4 into 10.5 2022-10-06 08:29:56 +03:00
btr0pcur.inl MDEV-27927 row_sel_try_search_shortcut_for_mysql() does not latch a page, violating read view isolation 2022-10-05 17:35:21 +03:00
btr0sea.h Merge 10.4 into 10.5 2022-12-13 14:39:18 +02:00
btr0sea.inl MDEV-27700 ASAN: Heap_use_after_free in btr_search_drop_page_hash_index() 2022-08-22 16:29:46 +05:30
btr0types.h
buf0block_hint.h Merge 10.4 into 10.5 2020-10-30 11:15:30 +02:00
buf0buddy.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
buf0buf.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
buf0buf.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
buf0checksum.h
buf0dblwr.h MDEV-31124 Innodb_data_written miscounts doublewrites 2023-04-25 12:17:06 +03:00
buf0dump.h
buf0flu.h MDEV-27094 Debug builds include useless InnoDB "disabled" options 2022-04-22 12:48:40 +03:00
buf0flu.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
buf0lru.h MDEV-23399: Performance regression with write workloads 2020-10-15 17:04:56 +03:00
buf0rea.h MDEV-26547 Restoring InnoDB buffer pool dump is single-threaded for no reason 2021-09-06 10:14:24 +03:00
buf0types.h MDEV-28478 fixup: Declare a constexpr member function const 2022-05-06 17:40:55 +03:00
data0data.h Merge branch '10.3' into 10.4 2022-01-30 09:46:52 +01:00
data0data.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
data0type.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
data0type.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
data0types.h
db0err.h Merge 10.3 into 10.4 2022-06-09 11:53:46 +03:00
dict0boot.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
dict0boot.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
dict0crea.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
dict0crea.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
dict0defrag_bg.h Cleanup: Remove unnecessary declarations 2020-09-30 13:37:15 +03:00
dict0dict.h Merge 10.4 into 10.5 2022-06-27 10:51:20 +03:00
dict0dict.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
dict0load.h
dict0mem.h Merge 10.4 into 10.5 2023-01-03 17:08:42 +02:00
dict0mem.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
dict0pagecompress.h MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
dict0pagecompress.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
dict0priv.h Merge branch '10.3' into 10.4 2022-01-30 09:46:52 +01:00
dict0priv.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
dict0stats.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
dict0stats.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
dict0stats_bg.h MDEV-27094 Debug builds include useless InnoDB "disabled" options 2022-04-22 12:48:40 +03:00
dict0types.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
dyn0buf.h MDEV-24188: Merge 10.4 into 10.5 2020-11-13 22:06:50 +02:00
dyn0types.h
eval0eval.h MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
eval0eval.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
eval0proc.h MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
eval0proc.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
fil0crypt.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
fil0crypt.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
fil0fil.h MDEV-31442 page_cleaner thread aborts while releasing the tablespace 2023-06-09 18:15:33 +05:30
fil0fil.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
fil0pagecompress.h Merge 10.4 into 10.5 2021-08-18 18:22:35 +03:00
fsp0file.h MDEV-23855: Shrink fil_space_t 2020-10-26 17:53:54 +02:00
fsp0fsp.h Merge 10.4 into 10.5 2022-12-13 14:39:18 +02:00
fsp0space.h Cleanup: Make InnoDB page numbers uint32_t 2020-10-15 17:06:17 +03:00
fsp0sysspace.h Cleanup: Make InnoDB page numbers uint32_t 2020-10-15 17:06:17 +03:00
fsp0types.h MDEV-23855: Remove fil_system.LRU and reduce fil_system.mutex contention 2020-10-26 17:09:01 +02:00
fts0ast.h Merge 10.4 to 10.5 2020-10-22 17:08:49 +03:00
fts0blex.h
fts0fts.h MDEV-30936 clang 15.0.7 -fsanitize=memory fails massively 2023-03-28 11:44:24 +03:00
fts0opt.h
fts0pars.h
fts0plugin.h
fts0priv.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
fts0priv.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
fts0tlex.h
fts0tokenize.h
fts0types.h MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
fts0types.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
fts0vlc.h MDEV-19522 InnoDB commit fails when FTS_DOC_ID value is greater than 4294967295 2021-10-21 12:56:59 +03:00
fut0fut.h MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
fut0lst.h Merge branch '10.3' into 10.4 2022-01-30 09:46:52 +01:00
gis0geo.h
gis0rtree.h MDEV-28478: INSERT into SPATIAL INDEX in TEMPORARY table writes log 2022-05-06 10:12:31 +03:00
gis0rtree.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
gis0type.h Cleanup: Make InnoDB page numbers uint32_t 2020-10-15 17:06:17 +03:00
ha0ha.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
ha0ha.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
ha0storage.h MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
ha0storage.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
ha_prototypes.h Cleanup: Remove innobase_destroy_background_thd() 2022-09-30 08:25:00 +03:00
handler0alter.h
hash0hash.h Merge 10.4 into 10.5 2022-03-07 17:16:11 +03:00
ib0mutex.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
ibuf0ibuf.h MDEV-29984 innodb_fast_shutdown=0 fails to report change buffer merge progress 2022-11-14 15:40:28 +02:00
ibuf0ibuf.inl Cleanup: Remove a useless header file 2022-11-14 14:12:20 +02:00
lock0iter.h
lock0lock.h Merge branch '10.4' into 10.5 2022-05-09 22:04:06 +02:00
lock0lock.inl Merge 10.4 into 10.5 2022-03-07 17:16:11 +03:00
lock0prdt.h MDEV-23719: Make lock_sys use page_id_t 2020-09-17 14:08:41 +03:00
lock0priv.h Merge 10.4 into 10.5 2022-03-07 17:16:11 +03:00
lock0priv.inl Merge 10.4 into 10.5 2022-03-07 17:16:11 +03:00
lock0types.h MDEV-23719: Make lock_sys use page_id_t 2020-09-17 14:08:41 +03:00
log0crypt.h
log0log.h MDEV-29982 Improve the InnoDB log overwrite error message 2022-11-14 12:18:03 +02:00
log0log.inl MDEV-30753 Possible corruption due to trx_purge_free_segment() 2023-02-28 15:39:23 +02:00
log0recv.h MDEV-30657 InnoDB: Not applying UNDO_APPEND due to corruption 2023-02-15 18:16:41 +02:00
log0types.h MDEV-22325 ib_logfile0 is too small for innodb_thread_concurrency=0. The size of ib_logfile0 should be bigger than 200 kB * innodb_thread_concurrency. 2020-06-09 03:15:31 +03:00
mach0data.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
mach0data.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
mem0mem.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
mem0mem.inl Merge branch '10.2' into 10.3 2022-01-29 15:41:05 +01:00
mtr0log.h MDEV-28478: INSERT into SPATIAL INDEX in TEMPORARY table writes log 2022-05-06 10:12:31 +03:00
mtr0mtr.h MDEV-21174 fixup: Remove mtr_t::release_page() 2022-11-10 12:50:44 +02:00
mtr0mtr.inl MDEV-27716 mtr_t::commit() acquires log_sys.mutex when writing no log 2022-02-09 15:10:10 +02:00
mtr0types.h Remove FIXME comments that refer to an early MDEV-14425 plan 2022-01-14 20:27:51 +02:00
os0event.h
os0file.h Merge branch '10.4' into 10.5 2023-04-24 12:43:47 +02:00
os0file.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
os0thread.h MDEV-30936 clang 15.0.7 -fsanitize=memory fails massively 2023-03-28 11:44:24 +03:00
page0cur.h MDEV-28668 Recovery or backup of INSERT may be incorrect 2022-05-25 13:15:56 +03:00
page0cur.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
page0page.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
page0page.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
page0types.h
page0zip.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
page0zip.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
pars0grm.h
pars0opt.h
pars0pars.h Merge 10.4 into 10.5 2021-08-18 18:22:35 +03:00
pars0sym.h
pars0types.h
que0que.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
que0que.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
que0types.h MDEV-23379 Deprecate&ignore InnoDB concurrency throttling parameters 2020-08-04 06:59:29 +03:00
read0types.h Merge 10.4 into 10.5 2020-08-21 20:32:04 +03:00
rem0cmp.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
rem0cmp.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
rem0rec.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
rem0rec.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
rem0types.h
row0ext.h Merge branch '10.3' into 10.4 2022-01-30 09:46:52 +01:00
row0ext.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
row0ftsort.h
row0import.h
row0ins.h MDEV-30936 clang 15.0.7 -fsanitize=memory fails massively 2023-03-28 11:44:24 +03:00
row0log.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
row0log.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
row0merge.h Merge 10.4 into 10.5 2021-04-14 11:35:39 +03:00
row0mysql.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
row0purge.h
row0quiesce.h
row0row.h Merge branch '10.3' into 10.4 2022-01-30 09:46:52 +01:00
row0row.inl Merge branch '10.3' into 10.4 2022-01-30 09:46:52 +01:00
row0sel.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
row0sel.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
row0types.h
row0uins.h
row0umod.h
row0undo.h
row0upd.h Merge 10.4 into 10.5 2023-01-03 17:08:42 +02:00
row0upd.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
row0vers.h
rw_lock.h MDEV-27667 Fix MDEV-26720 on 64-bit Microsoft Windows 2022-01-28 15:55:39 +02:00
srv0mon.h Merge branch '10.4' into 10.5 2022-05-18 09:50:26 +02:00
srv0mon.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
srv0srv.h Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00
srv0start.h Cleanup: Declare srv_shutdown_bg_undo_sources() static 2022-09-26 13:45:53 +03:00
sync0arr.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
sync0arr.inl Merge branch '10.3' into 10.4 2022-01-30 09:46:52 +01:00
sync0debug.h MDEV-23399: Performance regression with write workloads 2020-10-15 17:04:56 +03:00
sync0policy.h Merge branch '10.2' into 10.3 2022-01-29 15:41:05 +01:00
sync0rw.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
sync0rw.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
sync0sync.h Merge 10.4 into 10.5 2022-04-21 15:33:50 +03:00
sync0types.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
trx0i_s.h Merge 10.2 into 10.3 2021-07-27 10:47:17 +03:00
trx0purge.h MDEV-31382 SET GLOBAL innodb_undo_log_truncate=ON has no effect on logically empty undo logs 2023-06-08 09:18:21 +03:00
trx0rec.h Merge 10.4 into 10.5 2022-10-06 08:29:56 +03:00
trx0rec.inl Merge branch '10.2' into 10.3 2022-01-29 15:41:05 +01:00
trx0roll.h MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
trx0rseg.h MDEV-30671 InnoDB undo log truncation fails to wait for purge of history 2023-02-24 14:24:44 +02:00
trx0rseg.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
trx0sys.h MDEV-31234 InnoDB does not free UNDO after the fix of MDEV-30671 2023-05-19 12:19:26 +03:00
trx0trx.h MDEV-28709 unexpected X lock on Supremum in READ COMMITTED 2022-10-25 00:52:10 +03:00
trx0trx.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
trx0types.h Merge 10.4 into 10.5 2021-06-21 14:22:22 +03:00
trx0undo.h MDEV-30671 InnoDB undo log truncation fails to wait for purge of history 2023-02-24 14:24:44 +02:00
trx0undo.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
trx0xa.h
univ.i Merge 10.4 into 10.5 2022-09-20 13:17:02 +03:00
ut0byte.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
ut0byte.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
ut0counter.h
ut0crc32.h MDEV-19935 Create unified CRC-32 interface 2020-09-17 16:07:37 +02:00
ut0dbg.h
ut0list.h MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
ut0list.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
ut0lst.h Do not use C++11 before MariaDB 10.4 2022-10-14 11:54:05 +03:00
ut0mem.h Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
ut0mem.inl Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
ut0mutex.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
ut0new.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
ut0pool.h Merge 10.2 into 10.3 2020-08-21 19:18:34 +03:00
ut0rbt.h
ut0rnd.h Merge branch '10.3' into 10.4 2022-01-30 09:46:52 +01:00
ut0rnd.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
ut0sort.h
ut0stage.h
ut0ut.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
ut0ut.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
ut0vec.h MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
ut0vec.inl MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
ut0wqueue.h Merge 10.4 into 10.5 2021-10-21 15:26:25 +03:00