Kirill Sizov created IGNITE-21153:
--------------------------------------
Summary: Create better LockManager extension
Key: IGNITE-21153
URL: https://issues.apache.org/jira/browse/IGNITE-21153
Project: Ignite
Issue Type: Task
Reporter: Kirill Sizov
*Motivation*
There is a {{LockManager}} "extension" - {{OrphanDetector}} - that checks
whether the lock holder is no longer available and fails the waiting
transaction.
So we have a two-way stream of control here - {{LockManager}} notifies
{{OrphanDetector}} and expects a response from it.
Currently {{OrphanDetector}} binds to {{LockManager}} using event
notifications, the response from it is handled in an extremely hacky way -
using exceptionally completed future.
*Definition of Done*
There should be a way to ask {{OrphanDetector}} and handle its response in a
more straightforward and synchronous way.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)