[ https://issues.apache.org/jira/browse/SOLR-16503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884493#comment-17884493 ]
David Smiley commented on SOLR-16503: ------------------------------------- Sanjay is working on this one but you're welcome to review and maybe switch over some usages of it once it's in place (will be separate PRs instead of a mega PR; same JIRA). The latest PR introduces a CoreContainer method since it's used so pervasively. UpdateShardHandler is a terrible home for it. He and I discussed where it should live quite a bit; explored another option already and settled here. > Switch UpdateShardHandler.getDefaultHttpClient to Jetty HTTP2 > ------------------------------------------------------------- > > Key: SOLR-16503 > URL: https://issues.apache.org/jira/browse/SOLR-16503 > Project: Solr > Issue Type: Sub-task > Reporter: David Smiley > Priority: Major > Labels: pull-request-available > Attachments: Screenshot 2024-03-16 at 9.14.36 PM.png > > Time Spent: 9h > Remaining Estimate: 0h > > Much of Solr's remaining uses of Apache HttpClient (HTTP 1) is due to > {{org.apache.solr.update.UpdateShardHandler#getDefaultHttpClient}} which > underlies most Solr-to-Solr connectivity. This also underlies the > {{{}CoreContainer.getSolrClientCache{}}}. Lets switch to Jetty (HTTP 2). > ---- > In SolrClientCache in particular: > Switch use of CloudLegacySolrClient.Builder to CloudSolrClient.Builder > Switch use of HttpSolrClient.Builder to Http2SolrClient.Builder > Undeprecate all the methods here. They should not have been deprecated in > the first place. > The constructor: switch from Apache HttpClient to a Jetty HttpClient. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org