[ https://issues.apache.org/jira/browse/SOLR-5970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945711#comment-15945711 ]
Esther Quansah commented on SOLR-5970: -------------------------------------- processResponse() in OverseerCollectionMessageHandler.java logs the exception and outputs it in the response but never actually throws an exception, which is probably why the status is 0... I'm not able to replicate this issue though...I'm always getting a 400 status when I attempt to create a collection with a non-existent configset. [~abec] could you list simple steps to reproduce this? if not, do you have debug enabled logs? > Create collection API always has status 0 > ----------------------------------------- > > Key: SOLR-5970 > URL: https://issues.apache.org/jira/browse/SOLR-5970 > Project: Solr > Issue Type: Bug > Reporter: Abraham Elmahrek > > The responses below are from a successful create collection API > (https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-CreateormodifyanAliasforaCollection) > call and an unsuccessful create collection API call. It seems the 'status' > is always 0. > Success: > {u'responseHeader': {u'status': 0, u'QTime': 4421}, u'success': {u'': > {u'core': u'test1_shard1_replica1', u'responseHeader': {u'status': 0, > u'QTime': 3449}}}} > Failure: > {u'failure': > {u'': > u"org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error > CREATEing SolrCore 'test43_shard1_replica1': Unable to create core: > test43_shard1_replica1 Caused by: Could not find configName for collection > test43 found:[test1]"}, > u'responseHeader': {u'status': 0, u'QTime': 17149} > } > It seems like the status should be 400 or something similar for an > unsuccessful attempt? -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org