noblepaul commented on a change in pull request #1071: SOLR-14003: Refactor code to avoid reading state from Replica/Slic URL: https://github.com/apache/lucene-solr/pull/1071#discussion_r358006822
########## File path: solr/solrj/src/java/org/apache/solr/common/cloud/Replica.java ########## @@ -167,11 +167,15 @@ public String getNodeName() { return nodeName; } - /** Returns the {@link State} of this replica. */ + /** Returns the {@link State} of this replica. use {@link org.apache.solr.client.solrj.cloud.ShardStateProvider#getState(Replica)} instead*/ + @Deprecated public State getState() { Review comment: This may not be removed in 9.0. This may impact almost 100% of SolrCloud users. We need to ensure that the new solution is more stable, performant and our users are on board with this. This may go away in 10.0 ---------------------------------------------------------------- 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 With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org