risdenk commented on code in PR #1445:
URL: https://github.com/apache/solr/pull/1445#discussion_r1132433853


##########
solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java:
##########
@@ -266,6 +267,7 @@ private HttpClient createHttpClient(Builder builder) {
         asyncTracker.getMaxRequestsQueuedPerDestination());
     httpClient.setUserAgentField(new HttpField(HttpHeader.USER_AGENT, AGENT));
     httpClient.setIdleTimeout(idleTimeoutMillis);
+    httpClient.setCookieStore(new HttpCookieStore.Empty());

Review Comment:
   So another big consideration here besides authentication - is load balancers 
also use cookies to ensure there client goes back to the same backend endpoint. 



##########
solr/benchmark/src/java/org/apache/solr/bench/MiniClusterState.java:
##########
@@ -273,7 +273,7 @@ public void startMiniCluster(int nodeCount) {
         nodes.add(runner.getBaseUrl().toString());
       }
 
-      client = new Http2SolrClient.Builder().build();
+      client = new Http2SolrClient.Builder().useHttp1_1(true).build();

Review Comment:
   any details on "break" means here? what did you run specifically to run the 
benchmark? I'll see if I can reproduce.



-- 
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]

Reply via email to