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 E64D418BE0 for ; Tue, 29 Dec 2015 13:18:49 +0000 (UTC) Received: (qmail 46871 invoked by uid 500); 29 Dec 2015 13:18:49 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 46818 invoked by uid 500); 29 Dec 2015 13:18:49 -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 46787 invoked by uid 99); 29 Dec 2015 13:18:49 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2015 13:18:49 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 919F02C0451 for ; Tue, 29 Dec 2015 13:18:49 +0000 (UTC) Date: Tue, 29 Dec 2015 13:18:49 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15050) Block Ref counting does not work in Region Split cases. 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-15050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-15050: ------------------------------------------- Status: Patch Available (was: Open) > Block Ref counting does not work in Region Split cases. > ------------------------------------------------------- > > Key: HBASE-15050 > URL: https://issues.apache.org/jira/browse/HBASE-15050 > Project: HBase > Issue Type: Bug > Affects Versions: 2.0.0 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Priority: Critical > Fix For: 2.0.0 > > Attachments: HBASE-15050.patch, HBASE-15050_1.patch, HBASE-15050_2.patch > > > The reference counting on the blocks does not work correctly when the HalfStorefileReader is used for compaction/scans. > The reason is that getFirstKey and getLastKey API create a new scanner but does not do the needed close() call and because of that we do not decrement the count on the blocks. The same impact will also be observed on the ref count that we maintain on the reader. Issue found when I was trying to test some other feature with lot of evictions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)