Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6971618A06 for ; Wed, 4 Nov 2015 07:08:28 +0000 (UTC) Received: (qmail 94576 invoked by uid 500); 4 Nov 2015 07:08:28 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 94454 invoked by uid 500); 4 Nov 2015 07:08:28 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 94422 invoked by uid 500); 4 Nov 2015 07:08:28 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 94401 invoked by uid 99); 4 Nov 2015 07:08:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2015 07:08:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EB2E82C1F5F for ; Wed, 4 Nov 2015 07:08:27 +0000 (UTC) Date: Wed, 4 Nov 2015 07:08:27 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9022) We should keep Destroyed volumes for some time 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/CLOUDSTACK-9022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14989043#comment-14989043 ] ASF GitHub Bot commented on CLOUDSTACK-9022: -------------------------------------------- Github user ustcweizhou commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1029#discussion_r43848708 --- Diff: server/src/com/cloud/configuration/Config.java --- @@ -672,6 +672,7 @@ "86400", "The interval (in seconds) to wait before running the storage cleanup thread.", null), + StorageCleanupDelay("Advanced", StorageManager.class, Integer.class, "storage.cleanup.delay", "86400", "Determines how long (in seconds) to wait before actually expunging destroyed volumes. The default value = the default value of storage.cleanup.interval.", null), --- End diff -- To make the configuration more readable, I will move all the storage-cleanup related configurations to Configurable interface. > We should keep Destroyed volumes for some time > ---------------------------------------------- > > Key: CLOUDSTACK-9022 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9022 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the default.) > Reporter: Wei Zhou > Assignee: Wei Zhou > > for now, the Destroyed volumes will be expunged in Storage cleanup thread, no matter when they are destroyed. > In Expunging vm, we only clean the Destroyed vms which have been destroyed at least 'expunge.delay' seconds. > We need to add the similar configuration for volumes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)