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



##########
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:
       how costly is this if your cluster has 1k nodes?




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