[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,
if many threads are waiting for it, and threadpool is not notified.


Generated at Thu Feb 08 09:07:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.