NSAmelchev opened a new pull request, #13667:
URL: https://github.com/apache/ignite/pull/13667

   There was no way to see how long explicit locks acquired with 
`IgniteCache.lock()` are held: a leaked lock blocks other threads and the 
partition map exchange, but it is neither a transaction nor a future, so 
neither the metrics nor the long running operations dump showed it.
   
   Two metrics are added to the `tx` registry, collected on the node that 
acquired the lock:
   - `MaxExplicitLockHoldTime` — maximum hold time of the explicit locks 
currently held, in milliseconds.
   - `ExplicitLockHoldTimeHistogram` — hold times of released explicit locks, 
one sample per `lock()`/`lockAll()` call.
   
   The "Pending explicit locks" dump of a stuck PME now shows the hold time of 
every key.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to