[
https://issues.apache.org/jira/browse/IGNITE-18052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17634536#comment-17634536
]
Denis Chudov commented on IGNITE-18052:
---------------------------------------
[~v.pyatkov] lgtm.
> Introduce short term locks for sorted indexes operations
> --------------------------------------------------------
>
> Key: IGNITE-18052
> URL: https://issues.apache.org/jira/browse/IGNITE-18052
> Project: Ignite
> Issue Type: Improvement
> Reporter: Denis Chudov
> Assignee: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> *Motivation:*
> In some case, required to release a specific lock before to release all locks
> for the key in transaction. This temporary lock is also called a short term
> lock.
> The issue is the implementation of HeapLockManager is release all locks for
> specific key just worth to invoke a release method one time.
> There are no counters to conduct how many times lock was taken.
> *Definition of done:*
> Short term locks are acquired and released as described above.
> *Implementation notes:*
> A new method should be added:
> {code:java}
> // Some comments here
> void release(UUID txId, LockKey lockKey, LockMode lockMode);
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)