[
https://issues.apache.org/jira/browse/SOLR-17206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated SOLR-17206:
--------------------------------
Fix Version/s: 9.6.0
> Update requests to SolrCloud can return status value of -1
> ----------------------------------------------------------
>
> Key: SOLR-17206
> URL: https://issues.apache.org/jira/browse/SOLR-17206
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Affects Versions: 9.4
> Reporter: Paul McArthur
> Priority: Minor
> Fix For: 9.6.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> It is possible for SolrCloud to return a HTTP status code of -1 for an update
> request that is distributed, if all of the distributed commands fail with an
> exception that is not a SolrException (e.g. an IOException).
>
> SorlCmdDistributor.SolrError sets a default value of -1 for the status code
> response for the distributed request. If a SolrException is encountered, the
> status code is replaced with the code from the response. If any other
> exception type is raised, the status code remains as -1.
> DistributedUpdatesAsyncException analyzes the errors from all distributed
> commands to determine the overall status code for the response. If all status
> codes equal -1, then -1 is returned as the status.
>
> The code should correspond to a valid HTTP status code, in this case, 500.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]