summaryrefslogtreecommitdiff
path: root/mysql-test/suite.pm
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-04-26 15:13:26 +0300
committerMonty <monty@mariadb.org>2020-04-26 15:26:48 +0300
commit81511b477676da29bcee7ca7f497b73af8a8f1d5 (patch)
tree4817f2b08ecb67314206da1ce56cbc8eed574222 /mysql-test/suite.pm
parenta19782522b1eac52d72f5e787b5d96f1fd1a2cb7 (diff)
downloadmariadb-git-81511b477676da29bcee7ca7f497b73af8a8f1d5.tar.gz
Fixed shutdown crash in Aria that affects debug binaries
MDEV-18286 Assertion `pagecache->cnt_for_resize_op == 0' failed in check_pagecache_is_cleaned_up on server shutdown The reason for the crash is that the counter-of-pinned-pages in the Aria pagecache goes wrong. This only affects debug builds, as in these we do an assert on shutdown if the counter-of-pinned-pages is not 0 (some page was left pinned). The bug was that in 2 places in the page cache, when not succeeding to pin a page and a retry was made, the counter-of-pinned-pages counter was not properly adjusted. In the given test case, BLOCK_COMMIT flushed all Aria files. If a block was flushed at the same time the insert tried to access it, the insert would retry to get the block and that would cause the counter to go wrong.
Diffstat (limited to 'mysql-test/suite.pm')
0 files changed, 0 insertions, 0 deletions