mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
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
This commit is contained in:
parent
ad5ec8a46c
commit
3fbb9c39a7
1 changed files with 2 additions and 1 deletions
|
@ -1447,7 +1447,8 @@ fil_write_flushed_lsn_to_data_files(
|
|||
cache. Note that all data files in the system tablespace 0 are
|
||||
always open. */
|
||||
|
||||
if (space->purpose == FIL_TABLESPACE) {
|
||||
if (space->purpose == FIL_TABLESPACE
|
||||
&& space->id == 0) {
|
||||
sum_of_sizes = 0;
|
||||
|
||||
node = UT_LIST_GET_FIRST(space->chain);
|
||||
|
|
Loading…
Reference in a new issue