[
https://issues.apache.org/jira/browse/IGNITE-22920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Shishkov updated IGNITE-22920:
-----------------------------------
Description:
{{GridDhtTxFinishRequest}} has two redundant class members:
# {{GridDhtTxFinishRequest#pendingVers}} field does not have getter and any
other read access.
# {{GridDhtTxFinishRequest#partUpdateCounters()}} getter has no usages,
moreover corresponding field {{#partUpdateCnt}} can not be updated from: there
are no constructor parameters or setter method.
was:
Getter {{GridNearLockRequest#filter()}} does not have any usage, i.e. calls to
setter becomes useless: [1, 2]
We have to figure out whether this is redundant code or whether we have *_lost
some useful functionality_*.
#
https://github.com/apache/ignite/blob/f4654f98607648252c5164c0fd1a81eff279ca26/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/colocated/GridDhtColocatedLockFuture.java#L1224
#
https://github.com/apache/ignite/blob/f4654f98607648252c5164c0fd1a81eff279ca26/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearLockFuture.java#L1218
> Final cleanup GridDhtTxFinishRequest
> ------------------------------------
>
> Key: IGNITE-22920
> URL: https://issues.apache.org/jira/browse/IGNITE-22920
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Ilya Shishkov
> Priority: Minor
> Labels: ise
>
> {{GridDhtTxFinishRequest}} has two redundant class members:
> # {{GridDhtTxFinishRequest#pendingVers}} field does not have getter and any
> other read access.
> # {{GridDhtTxFinishRequest#partUpdateCounters()}} getter has no usages,
> moreover corresponding field {{#partUpdateCnt}} can not be updated from:
> there are no constructor parameters or setter method.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)