You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Semen Boikov (JIRA)" <ji...@apache.org> on 2016/10/31 12:30:58 UTC
[jira] [Created] (IGNITE-4154) Optimize amount of data stored in
discovery history
Semen Boikov created IGNITE-4154:
------------------------------------
Summary: Optimize amount of data stored in discovery history
Key: IGNITE-4154
URL: https://issues.apache.org/jira/browse/IGNITE-4154
Project: Ignite
Issue Type: Task
Components: general
Reporter: Semen Boikov
Assignee: Semen Boikov
Fix For: 1.8
Currently on large clusters with lots of caches amount of data stored in tcp discovery history can grow too much.
What can be improved:
- TcpDiscoveryNodeAddedMessage.oldNodesDiscoData contains per-node discovery data. For cache component essentially this is list of configured caches, and for joined node at the time when 'collectDiscoveryData' is called this list should be the same on all nodes, so it can be stored once instead of per-node map
- even after message is discarded it is still stored in PendingMessages collection, looks like it can be safely removed after discarding
- now system property IGNITE_DISCOVERY_HISTORY_SIZE controls both size of events needed for client reconnects and number of topology snapshots stored in GridDiscoveryManager, need have two properies
- for clients TcpDiscoveryNodeAddFinishedMessage.clientDiscoData can be initialized only when message is sent to joining client
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)