Denis Chudov created IGNITE-20157:
-------------------------------------
Summary: Introduce LockTimeoutException
Key: IGNITE-20157
URL: https://issues.apache.org/jira/browse/IGNITE-20157
Project: Ignite
Issue Type: Improvement
Reporter: Denis Chudov
*Motivation*
Currently we have lock timeouts only for specific implementations of
DeadlockPreventionPolicy. In the same time, we have transaction request
timeouts. It makes no sense for such requests to wait for acquiring locks
longer than request timeout.
*Definition of done*
Future returned by LockManager#acquire is completed exceptionally if the lock
was not acquired in some time interval (lock acquisition timeout).
*Implementation notes*
This exception (or its message) should differ from the exception thrown because
of deadlock prevention policy with timeout.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)