You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "noblepaul (via GitHub)" <gi...@apache.org> on 2023/04/10 00:32:02 UTC

[GitHub] [solr] noblepaul commented on a diff in pull request #1549: SOLR-16741: CLUSTERSTATUS API returns wrong value for state ,leader for PRS collections

noblepaul commented on code in PR #1549:
URL: https://github.com/apache/solr/pull/1549#discussion_r1161361752


##########
solr/solrj/src/java/org/apache/solr/common/cloud/Replica.java:
##########
@@ -415,6 +415,13 @@ public void write(JSONWriter jsonWriter) {
     Map<String, Object> map = new LinkedHashMap<>();
     // this serializes also our declared properties
     _allPropsWriter().toMap(map);
+    boolean isLeader = isLeader();

Review Comment:
   done @hiteshk25 



-- 
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-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org