[
https://issues.apache.org/jira/browse/SOLR-6117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012729#comment-14012729
]
Varun Thacker edited comment on SOLR-6117 at 5/29/14 7:06 PM:
--------------------------------------------------------------
It looks like all of the other commands also return OK_STATUS
{code}
else if (command.equals(CMD_GET_FILE)) {
getFileStream(solrParams, rsp);
} else if (command.equals(CMD_GET_FILE_LIST)) {
getFileList(solrParams, rsp);
} else if (command.equalsIgnoreCase(CMD_BACKUP)) {
doSnapShoot(new ModifiableSolrParams(solrParams), rsp, req);
rsp.add(STATUS, OK_STATUS);
} else if (command.equalsIgnoreCase(CMD_DELETE_BACKUP)) {
deleteSnapshot(new ModifiableSolrParams(solrParams), rsp, req);
rsp.add(STATUS, OK_STATUS);
}
{code}
The actual error stack trace gets printed in the logs. Should we change how the
remaining also get handled?
was (Author: varunthacker):
It looks like all of the other commands also return OK_STATUS
{code}
else if (command.equals(CMD_GET_FILE)) {
getFileStream(solrParams, rsp);
} else if (command.equals(CMD_GET_FILE_LIST)) {
getFileList(solrParams, rsp);
} else if (command.equalsIgnoreCase(CMD_BACKUP)) {
doSnapShoot(new ModifiableSolrParams(solrParams), rsp, req);
rsp.add(STATUS, OK_STATUS);
} else if (command.equalsIgnoreCase(CMD_DELETE_BACKUP)) {
deleteSnapshot(new ModifiableSolrParams(solrParams), rsp, req);
rsp.add(STATUS, OK_STATUS);
}
[code}
The actual error message gets printed in the logs. Should we change it for all
of them?
> 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]