[jira] [Created] (IGNITE-5068) Redesign usage of GridDhtPartitionTopologyImpl.part2node map to store only diff from affinity assignment

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

[jira] [Created] (IGNITE-5068) Redesign usage of GridDhtPartitionTopologyImpl.part2node map to store only diff from affinity assignment

Anton Vinogradov (Jira)
Ilya Lantukh created IGNITE-5068:
------------------------------------

             Summary: Redesign usage of GridDhtPartitionTopologyImpl.part2node map to store only diff from affinity assignment
                 Key: IGNITE-5068
                 URL: https://issues.apache.org/jira/browse/IGNITE-5068
             Project: Ignite
          Issue Type: Improvement
    Affects Versions: 2.0
            Reporter: Ilya Lantukh
            Assignee: Ilya Lantukh


This map can become very huge on large topologies, and rebuilding it on each update is also costly. Some beneficial changes were made in the scope of IGNITE-4626, but further improvement requires complete redesign.
This map always stores affinity nodes + some additional "temporary owners". Those owners are only needed to complete rebalancing and they will evict partition when rebalancing is finished. It seems that storing only those non-affinity owners can greatly reduce memory required by this map (it will be empty on stable topology) and effort needed to keep it consistent with node2part.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)