You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Anshum Gupta (JIRA)" <ji...@apache.org> on 2014/09/18 22:08:34 UTC

[jira] [Commented] (SOLR-6537) A uLogDir configured outside of dataDir is not cleaned up by CoreAdmin UNLOAD

    [ https://issues.apache.org/jira/browse/SOLR-6537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139421#comment-14139421 ] 

Anshum Gupta commented on SOLR-6537:
------------------------------------

The CoreAdmin Unload documents 'deleteInstanceDir' as "If true, removes everything related to the core, including the index directory, configuration files and other related files.".

Can we not use that and just clean up uLogDir if deleteInstanceDir is set? Adding more granularity just increases complexity. We might also want to delete the uLogDir when 'deleteDataDir' is set to true. It makes sense to cleanup the uLogDir when the data directory is being deleted.

> A uLogDir configured outside of dataDir is not cleaned up by CoreAdmin UNLOAD
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-6537
>                 URL: https://issues.apache.org/jira/browse/SOLR-6537
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.10
>            Reporter: Shalin Shekhar Mangar
>              Labels: difficulty-easy, impact-low
>             Fix For: 5.0
>
>         Attachments: SOLR-6537.patch
>
>
> If one has defined a uLogDir which is not inside the dataDir then the CoreAdmin#UNLOAD call will not clean it up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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