[
https://issues.apache.org/jira/browse/IGNITE-5068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Lantukh updated IGNITE-5068:
---------------------------------
Summary: Redesign GridDhtPartitionTopologyImpl.part2node map to store only
diff from affinity assignment (was: Redesign usage of
GridDhtPartitionTopologyImpl.part2node map to store only diff from affinity
assignment)
> Redesign 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)