aparnasuresh85 commented on code in PR #2599:
URL: https://github.com/apache/solr/pull/2599#discussion_r1707163750


##########
solr/core/src/java/org/apache/solr/handler/admin/ClusterStatus.java:
##########
@@ -116,9 +118,19 @@ public void getClusterStatus(NamedList<Object> results)
       // add live_nodes
       if (withLiveNodes) clusterStatus.add("live_nodes", liveNodes);
     }
+
+    Aliases aliases = null;
+    if (withCollection || withAliases) {

Review Comment:
   Whether a collection parameter is passed (where the input could be either a 
collection or an alias) or if includeAll is set to true, aliases are retrieved 
from ZkStateReader to create a mapping of collections to the list of aliases 
associated with them and returned as part of the response.



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

Reply via email to