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/14 04:10:14 UTC
[jira] [Commented] (SOLR-4578) CoreAdminHandler#handleCreateAction
gets a SolrCore and does not close it in SolrCloud mode.
[ https://issues.apache.org/jira/browse/SOLR-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13601994#comment-13601994 ]
Mark Miller commented on SOLR-4578:
-----------------------------------
Should be
{code}
if (coreContainer.isZooKeeperAware()) {
if (coreContainer.getCoreNames().contains(name)) {
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.");
}
}
{code}
> CoreAdminHandler#handleCreateAction gets a SolrCore and does not close it in SolrCloud mode.
> --------------------------------------------------------------------------------------------
>
> Key: SOLR-4578
> URL: https://issues.apache.org/jira/browse/SOLR-4578
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Priority: Minor
>
> {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