iamsanjay commented on code in PR #2351:
URL: https://github.com/apache/solr/pull/2351#discussion_r1613262239


##########
solr/core/src/java/org/apache/solr/update/UpdateShardHandler.java:
##########
@@ -236,11 +246,17 @@ public SolrMetricsContext getSolrMetricsContext() {
     return solrMetricsContext;
   }
 
-  // if you are looking for a client to use, it's probably this one.
+  // please use getDefaultHttpSolrClient instead.
+  @Deprecated(since = "9.6")
   public HttpClient getDefaultHttpClient() {
     return defaultClient;
   }
 
+  // if you are looking for a client to use, it's probably this one.

Review Comment:
   How about we defer "the refactoring" for now? Because regardless we have to 
create a public API in UpdateShardHandler for default Http2SolrClient. So let's 
keep the scope of ticket there. Later on, when we are going to change the 
client in SolrClientCache, we can discuss then?
   
   Or, Do you not recommend creating "default" HTTP2 in UpdateShardHandler?
   
   



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

Reply via email to