[
https://issues.apache.org/jira/browse/SOLR-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986654#comment-13986654
]
Joel Bernstein commented on SOLR-6035:
--------------------------------------
A review of the DistributedUpdateProcessor looks like it should handle going
directly to the core.
The SolrDispatchFilter does attempt to pick out the leader core for a
collection. If there are two leaders from the same collection in the same Solr
instance then it could pick the wrong leader and this would cause the routing
on the server side.
All tests are passing with patch. I'll do some manual testing, but so far so
good.
Mark, let me know if you think I'm missing something.
> CloudSolrServer directUpdate routing should use getCoreUrl
> -----------------------------------------------------------
>
> Key: SOLR-6035
> URL: https://issues.apache.org/jira/browse/SOLR-6035
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Reporter: Marvin Justice
> Assignee: Joel Bernstein
> Priority: Minor
> Labels: performance
> Attachments: SOLR-6035.patch, SOLR-6035.patch
>
>
> In a multisharded node environment we were seeing forward-to-leader hops when
> using CloudSolrServer directUpdate (with the hop being on the same node) .
> Consequently, there was no improvement in indexing performance over
> non-directUpdate.
> Changing buildUrlMap to use getCoreUrl eliminated the extra hop and now we
> see a dramatic improvement in performance.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]