[MDEV-12683] Threads are always in 'cleaning up' state in innodb status Created: 2017-05-04 Updated: 2018-07-13 Resolved: 2018-07-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.0.30, 10.1.23 |
| Fix Version/s: | 10.0.36, 10.1.34, 10.2.16, 10.3.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Nilnandan Joshi | Assignee: | Sergei Golubchik |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Threads are always in "cleaning up" state in innodb status while in show processlist we can see "sleep". There was already bug opened and seem fixed but newer versions still have this issue.
|
| Comments |
| Comment by Elena Stepanova [ 2017-05-04 ] |
|
Copying marko's comment from
|
| Comment by Elena Stepanova [ 2017-05-04 ] |
|
Yes, it happens when connections did access InnoDB in the past. It's not always obvious, e.g. if a connection is established via MySQL client with auto-rehashing (default), it reads structures of tables in the default database, and after that 'cleaning up' occurs. If rehashing is turned off, or there is no default database, or there are no InnoDB tables in it, then no 'cleaning up' until you access InnoDB explicitly. So, given the above, do you consider it normal and harmless? |
| Comment by Marko Mäkelä [ 2017-05-05 ] |
|
I do not see any evidence of anything being wrong on the InnoDB side. |
| Comment by Elena Stepanova [ 2017-05-12 ] |
|
serg, what do you think about it from the server point of view? |