[ https://issues.apache.org/jira/browse/SOLR-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Miller updated SOLR-4578: ------------------------------ Summary: CoreAdminHandler#handleCreateAction gets a SolrCore and does not close it in SolrCloud mode when a core with the same name already exists. (was: CoreAdminHandler#handleCreateAction gets a SolrCore and does not close it in SolrCloud mode.) > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org