diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-12-18 16:53:45 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-12-18 16:53:45 +0200 |
commit | cd093d79f990cfa7923d3f3ca9352c4f0ee1415d (patch) | |
tree | 70d6cb4b2325dcb52b327be7fd9885330fedb6f9 /tpool | |
parent | a1974d1991f808146c11ca0ada3724e8bafd5fb8 (diff) | |
download | mariadb-git-cd093d79f990cfa7923d3f3ca9352c4f0ee1415d.tar.gz |
MDEV-24442 Assertion space->referenced() failed in fil_crypt_space_needs_rotation
A race condition between deleting an .ibd file and fil_crypt_thread
marking pages dirty was introduced in
commit 118e258aaac5da75a2ac4556201aaea3688fac67 (part of MDEV-23855).
fil_space_t::acquire_if_not_stopped(): Correctly return false
if the STOPPING flag is set, indicating that any further activity
on the tablespace must be avoided. Also, remove the constant parameter
have_mutex=true and move the function declaration to the same
compilation unit with the only callers.
fil_crypt_flush_space(): Remove an unused variable.
Diffstat (limited to 'tpool')
0 files changed, 0 insertions, 0 deletions