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

Shalin Shekhar Mangar updated SOLR-6117:
----------------------------------------

    Attachment: SOLR-6117.patch

Another iteration. I removed the exception from the Status class because the 
SnapPuller API is written to never throw exceptions. Instead, it just returns 
booleans for success/failure. Throwing exceptions is a very invasive change.

This patch just returns the right status. I've added a test as well. Is this 
sufficient for you Raintung?

> Replication command=fetchindex always return success.
> -----------------------------------------------------
>
>                 Key: SOLR-6117
>                 URL: https://issues.apache.org/jira/browse/SOLR-6117
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>    Affects Versions: 4.6
>            Reporter: Raintung Li
>            Assignee: Shalin Shekhar Mangar
>         Attachments: SOLR-6117.patch, SOLR-6117.patch, SOLR-6117.txt
>
>
> Replication API command=fetchindex do fetch the index. while occur the error, 
> still give success response. 
> API should return the right status, especially WAIT parameter is 
> true.(synchronous).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to