aparnasuresh85 commented on code in PR #2571: URL: https://github.com/apache/solr/pull/2571#discussion_r1688240886
########## solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseHttpClusterStateProvider.java: ########## @@ -124,7 +124,14 @@ private ClusterState fetchClusterState( throws SolrServerException, IOException, NotACollectionException { ModifiableSolrParams params = new ModifiableSolrParams(); if (collection != null) { + if (log.isDebugEnabled()) { + log.debug("Making a call to Solr to fetch cluster state for collection: {}", collection); + } params.set("collection", collection); + } else { + if (log.isDebugEnabled()) { + log.debug("Making a call to Solr to fetch entire cluster state"); Review Comment: Fetching entire cluster state could be prevented from the server side - maybe as part of another PR/jira issue -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org