You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Per Steffensen (JIRA)" <ji...@apache.org> on 2014/03/31 14:56:14 UTC

[jira] [Updated] (SOLR-5939) Wrong request potentially on Error from StreamingSolrServer

     [ https://issues.apache.org/jira/browse/SOLR-5939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Per Steffensen updated SOLR-5939:
---------------------------------

    Attachment: SOLR-5939_demo_problem.patch

Try running the test-suite (or just _BasicDistributedZkTest_) with attached patch SOLR-5939_demo_problem.patch. It is not supposed to be committed - just demonstrate the problem by showing where problems would have occurred if the request had resulted in errors.

> Wrong request potentially on Error from StreamingSolrServer
> -----------------------------------------------------------
>
>                 Key: SOLR-5939
>                 URL: https://issues.apache.org/jira/browse/SOLR-5939
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 5.0
>            Reporter: Per Steffensen
>              Labels: error, retry
>         Attachments: SOLR-5939_demo_problem.patch
>
>
> In _StreamingSolrServer.getSolrServer|ConcurrentUpdateSolrServer.handleError_ the _SolrCmdDistributor.Req req_ parameter is used for the _req_ field of all _error_'s created. This is also true for subsequent requests sent through the retuned ConcurrentUpdateSolrServer. This means a.o. that wrong request (the first request sent through this _ConcurrentUpdateSolrServer_) may be retried if case of errors executing one of the subsequent requests.



--
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