noblepaul commented on a change in pull request #2318: URL: https://github.com/apache/lucene-solr/pull/2318#discussion_r572556450
########## File path: solr/solrj/src/java/org/apache/solr/common/cloud/PerReplicaStates.java ########## @@ -92,6 +94,17 @@ public PerReplicaStates(String path, int cversion, List<String> states) { } + /** Check and return if all replicas are ACTIVE + */ + public boolean allActive() { + if (this.allActive != null) return allActive; Review comment: This object is immutable. Everytime the state is modified, a new instance is created ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org