Vladislav Pyatkov created IGNITE-18351:
------------------------------------------
Summary: Make a lock menagment interface modre friendly
Key: IGNITE-18351
URL: https://issues.apache.org/jira/browse/IGNITE-18351
Project: Ignite
Issue Type: Improvement
Reporter: Vladislav Pyatkov
Recently, we redesigned the behavior of lock manager, but did not modify the
interface. This leads the method name does not compatible that the method do.
The ticket inspires to improve interface of lock manager to avoid using the
interface wrong.
1) The lock mode LockMode#NL is used nowhere. It is s candidate to remove.
2) The LockManager#release(org.apache.ignite.internal.tx.Lock) method is
removed all locks on a particular transaction, but the method takes a lock (not
a transaction id). Redesign the method in order to release all lock for the
particular transaction.
3) The LockManager#release(UUID, LockKey, LockMode) releases a particular lock,
but the method does not take a lock object.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)