MDEV-31442 page_cleaner thread aborts while releasing the tablespace
- InnoDB shouldn't acquire the tablespace when it is being stopped or closed
This commit is contained in:
parent
f7e9ac0d88
commit
bd076d4dff
@ -1526,7 +1526,7 @@ template<bool have_reference> inline void fil_space_t::flush()
|
||||
flush_low();
|
||||
else
|
||||
{
|
||||
if (!(acquire_low(STOPPING & CLOSING) & (STOPPING | CLOSING)))
|
||||
if (!(acquire_low(STOPPING | CLOSING) & (STOPPING | CLOSING)))
|
||||
{
|
||||
flush_low();
|
||||
release();
|
||||
|
Loading…
x
Reference in New Issue
Block a user