[
https://issues.apache.org/jira/browse/IGNITE-29124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov reassigned IGNITE-29124:
------------------------------------------
Assignee: Vladislav Pyatkov
> Validate entry versions on primary nodes and return per-entry results from
> lockTxEntries
> ----------------------------------------------------------------------------------------
>
> Key: IGNITE-29124
> URL: https://issues.apache.org/jira/browse/IGNITE-29124
> Project: Ignite
> Issue Type: Improvement
> Reporter: Vladislav Pyatkov
> Assignee: Vladislav Pyatkov
> Priority: Major
>
> Update IgniteInternalCache#lockTxEntries and its asynchronous counterpart to
> support conditional transactional locking:
> * Return Map<CacheEntry<K, V>, Boolean> with an outcome for each entry.
> * Send expected versions to primary nodes.
> * Validate each version on the primary.
> * Return false for lock conflicts or version mismatches.
> * Return true for locks already held by the transaction.
> * Preserve existing timeout semantics.
> h3. Definition of done
> * Cover partial success, repeated acquisition, near caches, timeouts, and
> batched requests with tests.
> * All existing SELECT FOR UPDATE tests pass.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)