[
https://issues.apache.org/jira/browse/IGNITE-22917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17873263#comment-17873263
]
Ignite TC Bot commented on IGNITE-22917:
----------------------------------------
{panel:title=Branch: [pull/11474/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/11474/head] Base: [master] : No new tests
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8028035&buildTypeId=IgniteTests24Java8_RunAll]
> Remove GridDhtLockRequest#nearKeys
> ----------------------------------
>
> Key: IGNITE-22917
> URL: https://issues.apache.org/jira/browse/IGNITE-22917
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Ilya Shishkov
> Assignee: Ilya Shishkov
> Priority: Minor
> Labels: ise
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{GridDhtLockRequest#addNearKey(KeyCacheObject)}} does not have any usage,
> i.e. {{GridDhtLockRequest#nearKeys}} is not updated at all.
> So, {{nearKeys}} always returns empty collection and, moreover, some code
> becomes useless, eg. {{GridNearTransactionalCache#startRemoteTx(UUID,
> GridDhtLockRequest)}} [1], etc.
> 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/near/GridNearTransactionalCache.java#L285
--
This message was sent by Atlassian Jira
(v8.20.10#820010)