diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-11-03 12:41:41 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-11-03 12:41:41 +0200 |
commit | 90f43d260e407c650aa8a7885d674c717618cc37 (patch) | |
tree | bdba4334b5b21403a278036211eeda86ff1f93f1 /COPYING | |
parent | 95fcd567bdc4f9cdbe6b75ea6047982500b45c2f (diff) | |
download | mariadb-git-mariadb-10.5.7.tar.gz |
MDEV-24101 innodb_random_read_ahead=ON causes hang on DDL or shutdownmariadb-10.5.7
buf_read_ahead_random(): Do not leak a tablespace reference.
The reference was already acquired in fil_space_t::get(),
and we must only check that operations were not stopped.
This error was introduced when
commit 118e258aaac5da75a2ac4556201aaea3688fac67
merged n_pending_ios, n_pending_ops into a single n_pending.
This was not noticed earlier, because innodb_random_read_ahead
is OFF by default and our regression tests did not vary that
parameter at all.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions