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

Ilya Shishkov reassigned IGNITE-23036:
--------------------------------------

    Assignee: Ilya Shishkov

> Cleanup of GridCacheContext#dhtMap
> ----------------------------------
>
>                 Key: IGNITE-23036
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23036
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Ilya Shishkov
>            Assignee: Ilya Shishkov
>            Priority: Minor
>              Labels: ise
>
> Since IGNITE-674 {{nearMap}} argument of one of the 
> {{GridCacheContext#dhtMap}} methods has always {{null}} value [1]. It leads 
> to null values of arguments {{nearNodeIds}} and {{mappedNearNodes}} for 
> {{GridDhtCacheEntry#mappings}} and {{GridCacheMvccCandidate#mappedNodeIds}} 
> respectively.
> Therefore, {{GridCacheMvccCandidate#mappedNearNodes}} field is always empty / 
> null and in second method {{GridCacheContext#dhtMap}} {{nearNodes}} variable 
> is null / empty [2].
> We should investigate it on redundancy or loss of functionality.
> # 
> https://github.com/apache/ignite/blob/6fb58f28138ec8f3d4ea9e9859bd8bf262e5c847/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLockFuture.java#L843
> # 
> https://github.com/apache/ignite/blob/1d9312af9a5d73e0a89e8d39ae9ab552bd6c36f1/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheContext.java#L1589



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to