You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2018/01/12 19:57:00 UTC

[jira] [Updated] (SOLR-6771) Sending DIH request to non-leader can result in different number of successful documents

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

Cassandra Targett updated SOLR-6771:
------------------------------------
    Component/s: contrib - DataImportHandler

> Sending DIH request to non-leader can result in different number of successful documents
> ----------------------------------------------------------------------------------------
>
>                 Key: SOLR-6771
>                 URL: https://issues.apache.org/jira/browse/SOLR-6771
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 4.10
>            Reporter: Greg Harris
>
> Basically if you send a DIH request to the non-leader the following set of circumstances can occur:
> 1) If there are errors in some of the documents the request itself is rejected by the leader (try making a required field null with some documents to make sure there are rejections). 
> 2) This causes all documents on that request to appear to fail. The number of documents that a follower is able to update DIH with appears variable. 
> 3) You need to use a large number of documents it appears to see the anomaly. 
> This results in the following error on the follower:
> 2014-11-20 12:06:16.470; 34054 [Thread-18] WARN  org.apache.solr.update.processor.DistributedUpdateProcessor  – Error sending update
> org.apache.solr.common.SolrException: Bad Request
> request: http://10.0.2.15:8983/solr/collection1/update?update.distrib=TOLEADER&distrib.from=http%3A%2F%2F10.0.2.15%3A8982%2Fsolr%2Fcollection1%2F&wt=javabin&version=2
>         at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:240)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:722)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org