Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-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 2CEC017EE9 for ; Tue, 10 Mar 2015 09:32:39 +0000 (UTC) Received: (qmail 19331 invoked by uid 500); 10 Mar 2015 09:32:38 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 19276 invoked by uid 500); 10 Mar 2015 09:32:38 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 19264 invoked by uid 99); 10 Mar 2015 09:32:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 09:32:38 +0000 Date: Tue, 10 Mar 2015 09:32:38 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12405) WAL accounting by Store 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-12405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14354593#comment-14354593 ] Hudson commented on HBASE-12405: -------------------------------- SUCCESS: Integrated in HBase-TRUNK #6232 (See [https://builds.apache.org/job/HBase-TRUNK/6232/]) HBASE-12405 addendum fix HRegion heap size (zhangduo: rev 105f9b328221eef30c61a36593927be9a61200b7) * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java > WAL accounting by Store > ----------------------- > > Key: HBASE-12405 > URL: https://issues.apache.org/jira/browse/HBASE-12405 > Project: HBase > Issue Type: Improvement > Components: wal > Affects Versions: 2.0.0, 1.1.0 > Reporter: zhangduo > Assignee: zhangduo > Fix For: 2.0.0, 1.1.0 > > Attachments: HBASE-12405-addendum.patch, HBASE-12405.patch, HBASE-12405_1.patch, HBASE-12405_2.patch, HBASE-12405_3.patch, HBASE-12405_4.patch, HBASE-12405_5.patch > > > HBASE-10201 has made flush decisions per Store, but has not done enough work on HLog, so there are two problems: > 1. We record minSeqId both in HRegion and FSHLog, which is a duplication. > 2. There maybe holes in WAL accounting. > For example, assume family A with sequence id 1 and 3, family B with seqId 2. If we flush family A, we can only record that WAL before sequence id 1 can be removed safely. If we do a replay at this point, sequence id 3 will also be replayed which is unnecessary. -- This message was sent by Atlassian JIRA (v6.3.4#6332)