You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2017/10/04 19:22:01 UTC

[jira] [Updated] (SOLR-11438) Solr should return rf when min_rf is specified for delete-by-id and delete-by-query.

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

Erick Erickson updated SOLR-11438:
----------------------------------
    Attachment: SOLR-11438.patch

A bare sketch of a patch, just enough to show that it's _possible_ get "rf" back from deletes. I just mechanically passed replicationTracker to cmdDistrib.distribDelete (sometimes) without really understanding what I was doing and there are zero tests....

I did note that the processAdd returned rf of 3 when there were 4 replicas, so my bit of refactoring may have messed up processAdd. Like I said, this was only to see if it could be done.

> Solr should return rf when min_rf is specified for delete-by-id and delete-by-query.
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-11438
>                 URL: https://issues.apache.org/jira/browse/SOLR-11438
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.6.1, 7.0, master (8.0)
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>         Attachments: SOLR-11438.patch
>
>
> When we add documents and specify min_rf we get back an rf parameter in the response which is the number of replicas that successfully received the add. 
> However, for delete-by-id or delete-by-query we do not return this data. Is there any harm in it?
> Assigning to myself to track, anyone else who wants it feel free.



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