You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2016/04/06 04:28:25 UTC
[jira] [Commented] (SOLR-8423) DELETESHARD should cleanup the
instance and data directory, like DELETEREPLICA
[ https://issues.apache.org/jira/browse/SOLR-8423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227580#comment-15227580 ]
Hoss Man commented on SOLR-8423:
--------------------------------
[~anshumg], [~shalinmangar], [~markrmiller@gmail.com] - can one of you please review the ref guide edits i made for this issue...
* https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=32604284&selectedPageVersions=156&selectedPageVersions=157
* https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=61339928&selectedPageVersions=5&selectedPageVersions=6
(It was a little confusing to me how to document this clearly since, AFAICT, _all_ the params default to "true", regardless of what other params the user might set to "false", so setting {{deleteInstanceDir=false}} by itself doesn't seem to do anything very useful -- the dataDir (and index) is still deleted because deleteDatadDir defaults to true.)
> DELETESHARD should cleanup the instance and data directory, like DELETEREPLICA
> ------------------------------------------------------------------------------
>
> Key: SOLR-8423
> URL: https://issues.apache.org/jira/browse/SOLR-8423
> Project: Solr
> Issue Type: Bug
> Reporter: Anshum Gupta
> Assignee: Anshum Gupta
> Fix For: master, 6.0
>
> Attachments: SOLR-8423.patch, SOLR-8423.patch, SOLR-8423.patch
>
>
> DELETESHARD only cleans up the index directory and not the instance/data directory. DELETEREPLICA on the other hand cleans up the data and instance directory.
> DELETESHARD should clean up the instance and data directory, so that we don't leak disk space on executing the command.
> If we think this would break back-compat, though I don't see why this should not clean up the instance dir, we should at least provide an option to clean up everything and make it default in 6.0.
--
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