[
https://issues.apache.org/jira/browse/SOLR-10599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18052938#comment-18052938
]
Eric Pugh commented on SOLR-10599:
----------------------------------
With the fix in SOLR-18008 introduces solr.cloud.delete.unknown.cores.enabled
that deals with this when you create a replacement core I am hoping you agree
we've fixed it. We have a better error message:
"Directory at [{}] for core[{}] already exists may prevent create operation.
Set solr.cloud.delete.unknown.cores.enabled=true to delete directory.
(SOLR-18008)"
> Improve error message when core.properties already exists on CoreAdmin CREATE
> command
> -------------------------------------------------------------------------------------
>
> Key: SOLR-10599
> URL: https://issues.apache.org/jira/browse/SOLR-10599
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 6.5.1
> Reporter: Shawn Heisey
> Assignee: Shawn Heisey
> Priority: Minor
> Attachments: SOLR-10599.patch
>
>
> When CoreAdmin CREATE is called and core.properties already exists, the
> resulting error message is not informative to somebody who is not familiar
> with CoreAdmin internal operation.
> {code}
> Error CREATEing SolrCore 'foo': Could not create a new core in
> C:\Users\sheisey\Downloads\solr-6.5.1\server\solr\fooas another core is
> already defined there
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]