patsonluk commented on code in PR #909:
URL: https://github.com/apache/solr/pull/909#discussion_r911534082


##########
solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java:
##########
@@ -540,7 +627,7 @@ private void constructState(Set<String> changedCollections) 
{
       log.debug(
           "clusterStateSet: interesting [{}] watched [{}] lazy [{}] total 
[{}]",
           collectionWatches.keySet().size(),
-          watchedCollectionStates.keySet().size(),
+          collectionWatches.activeCollections().size(),

Review Comment:
   Thank you for the suggestion @madrob ! Yes, I struggled a little bit on this 
one as I first created a separate set to keep track of active collections, but 
once there are multiple collections, there are sync issues. As for a 
specialized method, can you give a bit more details on what it will look like? 



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