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

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: