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