forked from percona/percona-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug 1578139 (Parallel doublewrite memory not freed with innodb_fa…
…st_shutdown=2) With a very fast InnoDB shutdown, buf_parallel_dblwr_destroy(), which closes and deletes the doublewrite file and frees memory, is skipped. In this configuration the file should not be deleted, thus fix by renaming buf_parallel_dblwr_destroy() to buf_parallel_dblwr_free() that unconditionally frees memory and, depending on the arg value, closes and deletes the file. Call it in the common code path for all innodb_fast_shutdown values.
- Loading branch information
1 parent
dba9967
commit 8a53ed7
Showing
4 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters