mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Bug#13414773 -INNODB_FAST_SHUTDOWN=2, ASSERT STATE == BUF_BLOCK_ZIP_PAGE
We can have dirty pages during a fast shutdown. Relax the assertion.
This commit is contained in:
parent
23dce762a4
commit
f22437ab50
1 changed files with 4 additions and 2 deletions
|
|
@ -957,8 +957,10 @@ buf_pool_free(void)
|
|||
ut_ad(bpage->in_LRU_list);
|
||||
|
||||
if (state != BUF_BLOCK_FILE_PAGE) {
|
||||
/* We must not have any dirty block. */
|
||||
ut_ad(state == BUF_BLOCK_ZIP_PAGE);
|
||||
/* We must not have any dirty block except
|
||||
when doing a fast shutdown. */
|
||||
ut_ad(state == BUF_BLOCK_ZIP_PAGE
|
||||
|| srv_fast_shutdown == 2);
|
||||
buf_page_free_descriptor(bpage);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue