frankgh commented on a change in pull request #1428:
URL: https://github.com/apache/cassandra/pull/1428#discussion_r798049622



##########
File path: src/java/org/apache/cassandra/gms/Gossiper.java
##########
@@ -148,6 +160,11 @@
     /* subscribers for interest in EndpointState change */
     private final List<IEndpointStateChangeSubscriber> subscribers = new 
CopyOnWriteArrayList<>();
 
+    /* list of the most recent N gossip state transitions.
+     * N is defined by the max_gossip_state_transitions_size configuration. */
+    @VisibleForTesting
+    final Map<InetAddressAndPort, Queue<GossipStateTransition>> 
gossipStateTransitionMap = new ConcurrentHashMap<>();

Review comment:
       for 1k nodes I estimate it is going to be low tens of megabytes. Maybe 
10-20MB.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to