diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-15 12:09:46 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-15 12:09:46 +0200 |
commit | 34db9958e28c325b0f708f78b7ff029de810d5ea (patch) | |
tree | e62e1ca8506de67b926129e77691544fcadfabe5 /sql/sql_analyse.cc | |
parent | 396cf60ac064b47ca0406bf7f870df9880d3ad94 (diff) | |
download | mariadb-git-34db9958e28c325b0f708f78b7ff029de810d5ea.tar.gz |
MDEV-18936 Purge thread fails to exit on shutdown
When there is a huge transaction in the undo log, the purge threads
may get stuck in trx_purge_attach_undo_recs() for a long time,
causing the server to hang on a normal shutdown (innodb_fast_shutdown>0).
Apparently the innodb_purge_batch_size does not work correctly, or the
n_pages_handled is not being incremented correctly. We do not fix that
for now, but we will instead check if shutdown has been initiated,
allowing the purge threads to shut down without delays.
Diffstat (limited to 'sql/sql_analyse.cc')
0 files changed, 0 insertions, 0 deletions