dsmiley commented on code in PR #2892: URL: https://github.com/apache/solr/pull/2892#discussion_r1867330538
########## solr/solrj/src/java/org/apache/solr/common/cloud/ClusterState.java: ########## @@ -387,7 +386,7 @@ public boolean equals(Object obj) { /** Internal API used only by ZkStateReader */ void setLiveNodes(Set<String> liveNodes) { - this.liveNodes = liveNodes; + this.liveNodes = Set.of(liveNodes.toArray(new String[0])); Review Comment: no, call Set.copyOf -- 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