patsonluk commented on code in PR #909:
URL: https://github.com/apache/solr/pull/909#discussion_r915358372
##########
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:
Thanks @madrob ! There's a if `(log.isTraceEnabled()) {` later on that
prints out all the names. So are you proposing to have 2 methods, one for count
and one for the active set of names?
--
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]