Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10800

Create a new method to transform a list of replicas to an URL in HttpShardHandler

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 7.0
    • None
    • None

    Description

      Extract a functioncalled transformReplicaToURL from prepDistributed() in HttpShardHandler.
      The function takes a list of eligible replicas and a replica transformer and returns a string containing the URL for a shard.

      This refactoring can improve reusability and makes the flow of prepDistributed() a bit easier to follow

      Attachments

        1. SOLR-10800.patch
          3 kB
          Christine Poerschke
        2. SOLR-10800.patch
          3 kB
          Domenico Fabio Marino
        3. SOLR-10800.patch
          3 kB
          Domenico Fabio Marino

        Activity

          People

            cpoerschke Christine Poerschke
            dmarino Domenico Fabio Marino
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: