You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ilya Lantukh (JIRA)" <ji...@apache.org> on 2017/04/24 14:02:04 UTC
[jira] [Created] (IGNITE-5068) Redesign usage of
GridDhtPartitionTopologyImpl.part2node map to store only diff from affinity
assignment
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)