mariadb/storage/innobase
Marko Mäkelä 759e3523e3 MDEV-38026 Recovery of FILE_CREATE fails to create a file
fil_ibd_create(): Add a DEBUG_SYNC point for the test case.

fil_node_open_file_low(): If node->deferred is set, set the
OS_FILE_ON_ERROR_SILENT flag on OS_FILE_OPEN and attempt
OS_FILE_CREATE if needed. If this fails, then InnoDB will
refuse to start up, giving the operator a chance to resolve
the situation, for example by freeing up some space in the
file system.

recv_validate_tablespace(): Invoke deferred_spaces.add() on
any missing tablespace for which we know the LSN of the FILE_CREATE
record. In this way, fil_node_open_file_low() will end up being invoked
on files that are supposed to be created.

fil_name_process(): For FILE_CREATE, remember the create_lsn.

recv_sys_t::parse(): Pass FILE_CREATE to fil_name_process().

Some existing tests have been adjusted for the improved recovery of
file creation.

Reviewed by: Thirunarayanan Balathandayuthapani
Tested by: Saahil Alam
2025-11-07 08:09:08 +02:00
..
btr MDEV-26599 Assertion `!table->id' failed in btr_search_lazy_free 2025-10-22 09:25:18 +03:00
buf MDEV-37558 Multi-batch recovery discards needed doublewrite pages 2025-10-29 12:09:13 +05:30
data Merge 10.4 into 10.5 2022-10-25 11:26:37 +03:00
dict MDEV-31740 InnoDB statistics column length validation failed 2025-10-06 12:53:17 +05:30
eval MDEV-27336 Crash on DROP DATABASE due to out-of-bounds result from InnoDB SUBSTR() 2021-12-21 17:33:26 +02:00
fil MDEV-38026 Recovery of FILE_CREATE fails to create a file 2025-11-07 08:09:08 +02:00
fsp MDEV-37994 Race condition between checkpoint and .ibd file creation 2025-11-07 08:06:27 +02:00
fts MDEV-36061 Incorrect error handling on DDL with FULLTEXT INDEX 2025-02-13 16:28:06 +01:00
fut MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
gis MDEV-27675 review fixup 2025-10-23 07:36:12 +03:00
ha MDEV-35472 Server crash in ha_storage_put_memlim upon reading from INNODB_LOCKS 2024-11-25 10:31:57 +02:00
handler MDEV-37672: Remove innodb_trx_rseg_n_slots_debug 2025-10-22 09:33:53 +03:00
ibuf MDEV-29930 Lock order inversion in ibuf_remove_free_page() 2025-09-11 13:20:48 +03:00
include MDEV-38026 Recovery of FILE_CREATE fails to create a file 2025-11-07 08:09:08 +02:00
lock MDEV-36639 innodb_snapshot_isolation=1 gives error for not committed row changes 2025-04-22 20:41:43 +03:00
log MDEV-38026 Recovery of FILE_CREATE fails to create a file 2025-11-07 08:09:08 +02:00
mem Cleanup: Remove duplicated code 2024-11-29 14:16:34 +02:00
mtr MDEV-35701 trx_t::autoinc_locks causes unnecessary dynamic memory allocation 2025-01-15 16:55:01 +02:00
mysql-test/storage_engine MDEV-36330: SERIALIZABLE read inconsistency 2025-07-11 16:07:08 +03:00
os MDEV-36226 Stall and crash when page cleaner fails to generate free pages during Async flush 2025-03-31 19:09:23 +05:30
page MDEV-37183 Scrubbing empty record breaks recovery 2025-07-11 15:20:06 +03:00
pars MDEV-35436 dict_stats_fetch_from_ps() unnecessarily holds exclusive dict_sys.latch 2025-02-13 16:54:17 +01:00
que MDEV-24035 Failing assertion: UT_LIST_GET_LEN(lock.trx_locks) == 0 causing disruption and replication failure 2024-12-12 18:02:00 +02:00
read MDEV-34515: Contention between purge and workload 2024-08-26 12:23:06 +03:00
rem Merge branch '10.5' into 10.6 2024-03-13 21:02:34 +01:00
row MDEV-36545: Possible crash in row_raw_format_str() 2025-10-23 09:08:08 +03:00
srv MDEV-37360: SIGSEGV in srv_printf_innodb_monitor 2025-08-08 14:11:45 +03:00
sync MDEV-34973: innobase/lock0lock: add noexcept 2024-10-01 09:53:16 +03:00
trx MDEV-37672: Remove innodb_trx_rseg_n_slots_debug 2025-10-22 09:33:53 +03:00
unittest MDEV-35587 unit.innodb_sync leaks memory on mac 2024-12-12 10:27:36 +11:00
ut MDEV-24035 Failing assertion: UT_LIST_GET_LEN(lock.trx_locks) == 0 causing disruption and replication failure 2024-12-12 18:02:00 +02:00
.clang-format-old switch off storage/innobase/.clang-format: InnoDB uses a common formatting style for all new code 2021-03-17 11:01:15 +03:00
bzip2.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
CMakeLists.txt MDEV-36316/MDEV-36327/MDEV-36328 Debug msan 2025-05-28 16:28:34 +10:00
COPYING.Google
COPYING.Percona
lz4.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzma.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzo.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
snappy.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00