You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Nikita Amelchev (Jira)" <ji...@apache.org> on 2026/10/05 17:14:00 UTC
[jira] [Created] (IGNITE-29104) Remove dead code from lock candidates and transaction size tracking
Nikita Amelchev created IGNITE-29104:
----------------------------------------
Summary: Remove dead code from lock candidates and transaction size tracking
Key: IGNITE-29104
URL: https://issues.apache.org/jira/browse/IGNITE-29104
Project: Ignite
Issue Type: Improvement
Reporter: Nikita Amelchev
Assignee: Nikita Amelchev
{\{GridCacheMvccCandidate}} assigns every lock candidate an ID from a shared static counter, but the ID is only read by \{{compareTo()}} and the \{{Externalizable}} methods, which are never called: candidates are neither sorted nor serialized.
{\{IgniteTxAdapter.applyTxSizes()}} is invoked on every transaction commit, but it iterates over \{{TxCounters.sizeDeltas}}, which is never populated.
Both should be removed to get rid of the dead code and of the needless per-candidate and per-transaction overhead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)