mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Bug#12543706 - innodb-fast-shutdown=2: Assert
node->modification_counter == node->flush_counter This bug (an assertion failure during a crash-like shutdown) was introduced by the fix of Bug#12323643 Clean up the InnoDB thread shutdown and assertions (WL#5136). fil_node_close_file(): Relax the failing assertion when innodb_fast_shutdown=2.
This commit is contained in:
parent
3ce0f809c3
commit
2646dd96eb
1 changed files with 2 additions and 1 deletions
|
@ -856,7 +856,8 @@ fil_node_close_file(
|
|||
ut_a(node->open);
|
||||
ut_a(node->n_pending == 0);
|
||||
ut_a(node->n_pending_flushes == 0);
|
||||
ut_a(node->modification_counter == node->flush_counter);
|
||||
ut_a(node->modification_counter == node->flush_counter
|
||||
|| srv_fast_shutdown == 2);
|
||||
|
||||
ret = os_file_close(node->handle);
|
||||
ut_a(ret);
|
||||
|
|
Loading…
Reference in a new issue