[jira] [Created] (IGNITE-4533) GridDhtPartitionsExchangeFuture stores unnecessary messages after processing done

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4533) GridDhtPartitionsExchangeFuture stores unnecessary messages after processing done

Anton Vinogradov (Jira)
Alexandr Kuramshin created IGNITE-4533:
------------------------------------------

             Summary: GridDhtPartitionsExchangeFuture stores unnecessary messages after processing done
                 Key: IGNITE-4533
                 URL: https://issues.apache.org/jira/browse/IGNITE-4533
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 1.8, 1.7
            Reporter: Alexandr Kuramshin


After GridDhtPartitionsExchangeFuture has been completed, GridCachePartitionExchangeManager still stores it in field ExchangeFutureSet exchFuts (for race condition handling).

But many GridDhtPartitionsSingleMessage objects stored in field ConcurrentMap<UUID, GridDhtPartitionsAbstractMessage> msgs is not needed after the future has been processed.

This map should be cleared in the end of the method onAllReceived().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)