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

Avoid sending the shard.url parameter in shard requests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6.2, 7.0
    • Component/s: search, SolrCloud
    • Labels:
      None

      Description

      The shard.url parameter contains a list of all replicas for a shard. One of those is chosen by the HttpShardHandler to execute the request. So, it is used only within the context of processing request on a distributor node as a special storage for a list of replicas urls between the prep and execution phase of HttpShardHandler. There is no real need to send this parameter down to the chosen shard.

      However, Hoss pointed out to me that removing this would break ShardAugmenterFactory so we need to figure out if/how we can do this. Personally, I don't think it is at all useful to write down ​all​ replicas with the document without telling which replica really served the query.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              shalin Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: