Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-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 0290A175AA for ; Thu, 8 Jan 2015 09:30:35 +0000 (UTC) Received: (qmail 94304 invoked by uid 500); 8 Jan 2015 09:30:35 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 94169 invoked by uid 500); 8 Jan 2015 09:30:35 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 93955 invoked by uid 99); 8 Jan 2015 09:30:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2015 09:30:35 +0000 Date: Thu, 8 Jan 2015 09:30:35 +0000 (UTC) From: "Cosmin Lehene (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-7267) [89-fb] Only create the dummy hfile for the compaction if necessary. 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/HBASE-7267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cosmin Lehene resolved HBASE-7267. ---------------------------------- Resolution: Invalid [~liyin] closing for now. Please update if necessary > [89-fb] Only create the dummy hfile for the compaction if necessary. > -------------------------------------------------------------------- > > Key: HBASE-7267 > URL: https://issues.apache.org/jira/browse/HBASE-7267 > Project: HBase > Issue Type: Bug > Reporter: Liyin Tang > > In HBASE-6059, it introduced a new behavior that the compaction would create the HFileWriter no mater whether there is any key/value as the output or not. This new behavior actually is conflicts with HBASE-5199 (Delete out of TTL store files before compaction selection) so that compacting the expired hfiles would generate one more expired hfiles. > Actually we only needs to create the dummy hfile IFF the maxSequenceID among the compaction candidates is equal to the maxSequenceID among all the on-disk hfiles. -- This message was sent by Atlassian JIRA (v6.3.4#6332)