Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 757D5184A2 for ; Wed, 2 Mar 2016 19:00:22 +0000 (UTC) Received: (qmail 97384 invoked by uid 500); 2 Mar 2016 19:00:21 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 97268 invoked by uid 500); 2 Mar 2016 19:00:20 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 96997 invoked by uid 99); 2 Mar 2016 19:00:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2016 19:00:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 738022C1F62 for ; Wed, 2 Mar 2016 19:00:20 +0000 (UTC) Date: Wed, 2 Mar 2016 19:00:20 +0000 (UTC) From: "Anshum Gupta (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-8423) DELETESHARD should cleanup the instance and data directory, like DELETEREPLICA MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-8423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anshum Gupta updated SOLR-8423: ------------------------------- Attachment: SOLR-8423.patch Patch with tests. I'll commit this once the 6.0 work is in place. > 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 > 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