Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.5.22
-
None
Description
Stop the database instance using mysqladmin shutdown,More than 24 hours without stopping.
Msyqld has been unable to stop and runs until "InnoDB: FTS optimize thread exiting”
2023-09-22 9:16:30 0 [Note] C:\Server\mysql\bin\mysqld.exe (initiated by: sysdba[sysdba] @ [127.0.0.1]): Normal shutdown
2023-09-22 9:16:30 0 [Note] Event Scheduler: Killing the scheduler thread, thread id 2
2023-09-22 9:16:30 0 [Note] Event Scheduler: Waiting for the scheduler thread to reply
2023-09-22 9:16:30 0 [Note] Event Scheduler: Stopped
2023-09-22 9:16:30 0 [Note] Event Scheduler: Purging the queue. 52 events
2023-09-22 9:16:30 0 [Note] InnoDB: FTS optimize thread exiting.
The information seen by ProcessMonitor has been undergoing flushbufferfile and readfile operations
Attachments
Issue Links
- relates to
-
MDEV-22577 innodb_fast_shutdown=0 fails to report purge progress
-
- Closed
-
There already was a bug fix related to this:
MDEV-22577innodb_fast_shutdown=0 fails to report progressSpecific to 10.6 (not sure if it could affect 10.5), while debugging
MDEV-32050I noticed that there would be only one message at the start of slow shutdown, mentioning the number of rows of history that needs to be purged. After my test workload, purging the history would take 30 to 90 seconds.We still need some stack traces to understand what exactly is going on here.