lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-6035) CloudSolrServer directUpdate routing should use getCoreUrl
Date Thu, 01 May 2014 15:05:25 GMT

    [ https://issues.apache.org/jira/browse/SOLR-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986654#comment-13986654
] 

Joel Bernstein edited comment on SOLR-6035 at 5/1/14 3:04 PM:
--------------------------------------------------------------

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 the patch. I'll do some manual testing, but so far so good.

Mark, let me know if you think I'm missing something.



was (Author: joel.bernstein):
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message