[ 
https://issues.apache.org/jira/browse/IGNITE-29104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikita Amelchev updated IGNITE-29104:
-------------------------------------
    Fix Version/s: 2.19

> 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
>            Priority: Major
>             Fix For: 2.19
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {\{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)

Reply via email to