Commit 3fbb9c39 authored by unknown's avatar unknown

fil0fil.c:

  At the shutdown, write the latest lsn only to the first pages of the ibdata files of the system tablespace, NOT to the .ibd files; writing to tens of thousands .ibd files can take minutes


innobase/fil/fil0fil.c:
  At the shutdown, write the latest lsn only to the first pages of the ibdata files of the system tablespace, NOT to the .ibd files; writing to tens of thousands .ibd files can take minutes
parent ad5ec8a4
...@@ -1447,7 +1447,8 @@ fil_write_flushed_lsn_to_data_files( ...@@ -1447,7 +1447,8 @@ fil_write_flushed_lsn_to_data_files(
cache. Note that all data files in the system tablespace 0 are cache. Note that all data files in the system tablespace 0 are
always open. */ always open. */
if (space->purpose == FIL_TABLESPACE) { if (space->purpose == FIL_TABLESPACE
&& space->id == 0) {
sum_of_sizes = 0; sum_of_sizes = 0;
node = UT_LIST_GET_FIRST(space->chain); node = UT_LIST_GET_FIRST(space->chain);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment