You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Vincenzo D'Amore (Jira)" <ji...@apache.org> on 2019/12/21 11:32:00 UTC
[jira] [Commented] (SOLR-13618) The core admin API should fail if
the instanceDir is not under SOLR_HOME or a child or ancestor of
instanceDir contains core.properties
[ https://issues.apache.org/jira/browse/SOLR-13618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17001675#comment-17001675 ]
Vincenzo D'Amore commented on SOLR-13618:
-----------------------------------------
Hi, I have some experience with Solr and would like to contribute to the community. I think being able to fix this. What is not clear, is exactly what to do. I think to double check the instanceDir is within SOLR_HOME, when someone calls the core admin API, in case is outside raise an informative error message. On the other hand I didn't get what to do in the other case when a child or ancestor of instanceDir contains core.properties.
> The core admin API should fail if the instanceDir is not under SOLR_HOME or a child or ancestor of instanceDir contains core.properties
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-13618
> URL: https://issues.apache.org/jira/browse/SOLR-13618
> Project: Solr
> Issue Type: Bug
> Reporter: Talvinder Matharu
> Priority: Major
>
> When new 'instanceDir' is set outside the SOLR_HOME directory then core will fail to reload after restart as the server only discovers cores within SOLR_HOME, looking for a 'core.properties'.
> So what we ideally want is to check for all the “core.properties” defined within all 'instanceDir' paths, which may exist outside the SOLR_HOME dir.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org