Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.2, 10.3
-
Component/s: Storage Engine - InnoDB
-
Labels:None
Description
During shutdown, InnoDB master thread encounters the shutdown state as SRV_SHUTDOWN_FLUSH_PHASE or SRV_SHUTDOWN_LAST_PHASE.
srv_active_wake_master_thread_low() is used during ha_innobase::close().
It wakes the master thread.
But scheduling or waking up of master thread happened after shutdown state is set to SRV_SHUTDOWN_FLUSH_PHASE and it leads to crash in shutdown
Attachments
Issue Links
- causes
-
MDEV-20638 Remove the deadcode from srv_master_thread() and srv_active_wake_master_thread_low()
-
- Closed
-