Parallel doublewrite memory not freed with innodb_fast_shutdown=2
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Invalid
|
Undecided
|
Unassigned | |||
5.7 |
Fix Released
|
Medium
|
Laurynas Biveinis |
Bug Description
Presents as a Valgrind error on innodb.
./mtr --debug-server log_file_size_1 --valgrind-mysqld
...
108 bytes in 1 blocks are possibly lost in loss record 1 of 5
at 0x4C2DB8F: malloc (vg_replace_
by 0x1B28220: ut_allocator<
by 0x1DF8855: mem_strdup(char const*) (mem0mem.ic:578)
by 0x1DFA879: buf_parallel_
by 0x1DFB2EA: buf_dblwr_
by 0x1EA93AA: SysTablespace:
by 0x1EAAB50: SysTablespace:
by 0x1D1340B: innobase_
by 0x1B01FE6: innobase_
by 0xF8B1CF: ha_initialize_
by 0x1643F53: plugin_
by 0x1644B6A: plugin_init(int*, char**, int) (sql_plugin.
by 0xEE4E52: init_server_
by 0xEE64F0: mysqld_main(int, char**) (mysqld.cc:4914)
by 0xEDD275: main (main.cc:25)
288 bytes in 2 blocks are possibly lost in loss record 2 of 5
at 0x4C2DB8F: malloc (vg_replace_
by 0x1B28220: ut_allocator<
by 0x1BF041D: os_event_
by 0x1DFEA7A: buf_parallel_
by 0x1D141F6: innobase_
by 0x1B01FE6: innobase_
by 0xF8B1CF: ha_initialize_
by 0x1643F53: plugin_
by 0x1644B6A: plugin_init(int*, char**, int) (sql_plugin.
by 0xEE4E52: init_server_
by 0xEE64F0: mysqld_main(int, char**) (mysqld.cc:4914)
by 0xEDD275: main (main.cc:25)
1,968 bytes in 2 blocks are possibly lost in loss record 3 of 5
at 0x4C2FB55: calloc (vg_replace_
by 0x1B28208: ut_allocator<
by 0x1DFEA4A: buf_parallel_
by 0x1D141F6: innobase_
by 0x1B01FE6: innobase_
by 0xF8B1CF: ha_initialize_
by 0x1643F53: plugin_
by 0x1644B6A: plugin_init(int*, char**, int) (sql_plugin.
by 0xEE4E52: init_server_
by 0xEE64F0: mysqld_main(int, char**) (mysqld.cc:4914)
by 0xEDD275: main (main.cc:25)
...
tags: | added: parallel-doublewrite |
https:/ /github. com/percona/ percona- server/ pull/491