[MDEV-21544] Instrument sync_array waits with tpool_wait_begin/end Created: 2020-01-21 Updated: 2020-01-21 Resolved: 2020-01-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.5.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Vladislav Vaintroub | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
instrument sync_array waits with tpool::wait_begin/end threadpool has to know about long waits, to be able to create or wakeup new threads, or it can become slow, if it just relies on maintainence timer. As an example, asynchronous read notification can stuck in the threadpool queue for a while, |