You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2016/11/29 01:46:58 UTC

[jira] [Updated] (SOLR-9707) DeleteByQuery forward requests to down replicas and set it in LiR

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

Varun Thacker updated SOLR-9707:
--------------------------------
    Attachment: SOLR-9707.patch

Hi Jessica,

I was trying to write a test case for this and I wasn't able to get it to fail without the patch. I realized that it's because we already filter out replicas which aren't on the live node list ( https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java#L805 )

Attaching the updated patch with the test case for reference.

> DeleteByQuery forward requests to down replicas and set it in LiR
> -----------------------------------------------------------------
>
>                 Key: SOLR-9707
>                 URL: https://issues.apache.org/jira/browse/SOLR-9707
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>            Reporter: Jessica Cheng Mallet
>            Assignee: Varun Thacker
>              Labels: solrcloud
>         Attachments: SOLR-9707.diff, SOLR-9707.patch
>
>
> DeleteByQuery, unlike other requests, does not filter out the down replicas. Thus, the update is still forwarded to the down replica and fails, and the leader then sets the replica in LiR. In a cluster where there are lots of deleteByQuery requests, this can flood the /overseer/queue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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