You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2023/05/23 19:54:00 UTC
[jira] [Resolved] (SOLR-9378) Avoid sending the shard.url parameter in shard requests
[ https://issues.apache.org/jira/browse/SOLR-9378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris M. Hostetter resolved SOLR-9378.
--------------------------------------
Resolution: Fixed
> Avoid sending the shard.url parameter in shard requests
> -------------------------------------------------------
>
> Key: SOLR-9378
> URL: https://issues.apache.org/jira/browse/SOLR-9378
> Project: Solr
> Issue Type: Improvement
> Components: search, SolrCloud
> Reporter: Shalin Shekhar Mangar
> Assignee: Chris M. Hostetter
> Priority: Minor
> Fix For: main (10.0), 9.3
>
> Attachments: SOLR-9378-1.patch, SOLR-9378-2.patch, SOLR-9378.patch
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org