Denis Chudov created IGNITE-22397:
-------------------------------------
Summary: Improve the CriticalWorkerWatchdog to make it able to
measure different delays for different threads
Key: IGNITE-22397
URL: https://issues.apache.org/jira/browse/IGNITE-22397
Project: Ignite
Issue Type: Improvement
Reporter: Denis Chudov
Motivation
For now, the critical worker is some thread that cannot be blocked for more
than X ms, and the value X is the same for every worker and configured with
CriticalWorkersConfiguration#maxAllowedLag. We have different mechanisms for
other threads like network ones (see
TrackableNetworkMessageHandler). Using the CriticalWorkerWatchdog we can
introduce the common approach for every case.
Definition of done
- we are able to configure maxAllowedLag per thread (per pool);
- we are able to detect small lags of critical threads (such as 5 ms which is
used in TrackableNetworkMessageHandler) using CriticalWorkerWatchdog.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)