dsmiley commented on code in PR #3931:
URL: https://github.com/apache/solr/pull/3931#discussion_r2616718495
##########
solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java:
##########
@@ -304,9 +328,9 @@ public List<SearchComponent> getComponents() {
return result;
}
- private boolean isDistrib(SolrQueryRequest req) {
- boolean isZkAware = req.getCoreContainer().isZooKeeperAware();
- boolean isDistrib = req.getParams().getBool(DISTRIB, isZkAware);
+ protected boolean isDistrib(SolrQueryRequest req, ResponseBuilder rb) {
+ boolean theDefault = req.getCoreContainer().isZooKeeperAware() ||
rb.isForcedDistrib();
Review Comment:
I'm fine with it as it is here. It's an invisible matter to a user --
conceptually the request remains not distributed in the sense that no _other_
server is involved processing the request.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]