You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2013/03/15 19:02:12 UTC

[jira] [Resolved] (SOLR-4578) CoreAdminHandler#handleCreateAction gets a SolrCore and does not close it in SolrCloud mode when a core with the same name already exists.

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

Mark Miller resolved SOLR-4578.
-------------------------------

    Resolution: Fixed
    
> CoreAdminHandler#handleCreateAction gets a SolrCore and does not close it in SolrCloud mode when a core with the same name already exists.
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4578
>                 URL: https://issues.apache.org/jira/browse/SOLR-4578
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.3, 5.0
>
>
> {noformat}
>       if (coreContainer.getZkController() != null) {
>         if (coreContainer.getCore(name) != null) {
>           log.info("Re-creating a core with existing name is not allowed in cloud mode");
>           throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
>               "Core with name '" + name + "' already exists.");
>         }
>       }
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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