diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-31 14:42:07 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-31 14:42:07 +0300 |
commit | 63f922dae192dd4579c39dbf097c6dadcb275273 (patch) | |
tree | 926362a11ad4aef4d4244bdacefa7680d852e13d /storage/myisam | |
parent | 14c72bd3e0140aa352d0f0cd2ca46069bfecdd81 (diff) | |
download | mariadb-git-63f922dae192dd4579c39dbf097c6dadcb275273.tar.gz |
MDEV-22090 Change buffer is not freed after dropping or rebuilding table
When MDEV-19514 removed the change buffer merges in the background,
it introduced a minor regression: After a DDL operation that drops
or rebuilds a table or partition, any entries in the change buffer
could survive until a slow shutdown (innodb_fast_shutdown=0) is executed.
fil_delete_tablespace(). Before returning, invoke
ibuf_delete_for_discarded_space(). With this, the only way to have
change buffer ‘leaks’ is to kill and restart the server at an
appropriate moment and never initiate a slow shutdown.
Diffstat (limited to 'storage/myisam')
0 files changed, 0 insertions, 0 deletions