You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Anshum Gupta (JIRA)" <ji...@apache.org> on 2016/04/16 03:50:25 UTC

[jira] [Commented] (SOLR-8983) Failed Collection CREATE call should cleanup the cluster state before returning

    [ https://issues.apache.org/jira/browse/SOLR-8983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243941#comment-15243941 ] 

Anshum Gupta commented on SOLR-8983:
------------------------------------

Ignore that patch, though I'd want to do this but it would break existing apps as it would throw an exception instead of returning a "failure" map. I'll post an updated patch.

> Failed Collection CREATE call should cleanup the cluster state before returning
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-8983
>                 URL: https://issues.apache.org/jira/browse/SOLR-8983
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.5, 6.0
>            Reporter: Anshum Gupta
>            Assignee: Anshum Gupta
>             Fix For: 5.5.1, 6.1
>
>         Attachments: SOLR-8983-test.patch, SOLR-8983.patch
>
>
> In case of a failed collection creation call, the cluster state is updated leaving an entry for the failed collection. This is also returned by the LIST command, allowing the users to believe that the collection exists.
> CREATE call should cleanup in case of a failed attempt at creating the collection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org