[ 
https://issues.apache.org/jira/browse/IGNITE-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Semen Boikov resolved IGNITE-4154.
----------------------------------
    Resolution: Fixed

> 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)

Reply via email to