dsmiley commented on code in PR #3238: URL: https://github.com/apache/solr/pull/3238#discussion_r1994305927
########## solr/solrj/src/java/org/apache/solr/client/solrj/SolrRequest.java: ########## @@ -210,6 +236,16 @@ public boolean requiresCollection() { return false; } + /** + * Indicates if clients should make attempts to route this request to a shard leader, overriding + * typical client routing preferences for requests. Defaults to true. + * + * @see CloudSolrClient#isUpdatesToLeaders + */ + public boolean shouldSendToLeaders() { Review Comment: I should have clarified that my comment wasn't a critique of this PR. The presence of this boolean seemed to somewhat get in the way of this PR (?) so I chose this moment to share my thoughts. Feel free to ignore! -- 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