[
https://issues.apache.org/jira/browse/IGNITE-13322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17171044#comment-17171044
]
Andrey N. Gura commented on IGNITE-13322:
-----------------------------------------
{{GridDhtPartitionsExchangeFuture#srvNodes}} is always accessed under mutex
except of {{init()}} method. So read/write oprrations are already thread-safe.
Issue closed as not a bug.
> Make GridDhtPartitionsExchangeFuture#srvNodes thread-safe
> ---------------------------------------------------------
>
> Key: IGNITE-13322
> URL: https://issues.apache.org/jira/browse/IGNITE-13322
> Project: Ignite
> Issue Type: Improvement
> Affects Versions: 2.8.1
> Reporter: Yaroslav Molochkov
> Assignee: Yaroslav Molochkov
> Priority: Major
>
> Currently
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture#srvNodes
> reference is initialised to the ArrayList, which is not a thread-safe
> implementation.
> Solution to this ticket must guarantee thread-safety of the srvNodes
> collection.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)