Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16367 Umbrella: Migrate away from Apache HttpClient.
  3. SOLR-16503

Switch UpdateShardHandler.getDefaultHttpClient to Jetty HTTP2

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dsmiley David Smiley
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 11h 50m
                  11h 50m