Description:
on a 5.7.19 just started up, I dropped a database containing some fairly large tables. Here is the partial spam from the error log :
2017-07-27T12:24:19.993357Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.024557Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.045157Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.065159Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.085160Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.105161Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.125162Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.145163Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.165164Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.185166Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.210766Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.231366Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.260967Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.292167Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.323367Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.354567Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.385767Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.416968Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.448168Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.479368Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.510568Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.541768Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.572968Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.604168Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.635368Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.666568Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.697768Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.728968Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.760168Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.791368Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.822568Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.853768Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.884968Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.917168Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.948369Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:20.979569Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:21.010769Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:21.041969Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:21.074169Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
2017-07-27T12:24:21.105369Z 3 [Warning] InnoDB: Trying to close/delete/truncate tablespace 'test/2017' but there are 1 pending operations on it.
How to repeat:
o) code inspection.
o) drop database with a few large tables on a slow hard disk.
Suggested fix:
Please, no need to spam 35 times per second!
Slow down, put a sleep/throttle in there....
This is just a request to throttle the outputs. If you want to fix the long semaphore waits, that can be a WL or new bug.