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 E3B08182FC for ; Thu, 4 Jun 2015 04:54:39 +0000 (UTC) Received: (qmail 2471 invoked by uid 500); 4 Jun 2015 04:54:39 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 2429 invoked by uid 500); 4 Jun 2015 04:54:39 -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 2417 invoked by uid 99); 4 Jun 2015 04:54:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2015 04:54:39 +0000 Date: Thu, 4 Jun 2015 04:54:39 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12295) Prevent block eviction under us if reads are in progress from the BBs 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-12295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-12295: ------------------------------------------- Attachment: HBASE-12295_1.patch HBASE-12295_1.pdf Updated patch and corresponding document. It also includes HBASE-13287. -> Creates a ref count mechanism for the blocks being referred in a read. -> Allows the cellblocks to be created in the layers before the RPCServer for the scans and gets. -> Block eviction happens only after the ref count becomes 0 and the decrement of the ref count happens after the creation of cells blocks for the java case and when the results are copied for the non-java case. More details in the doc attached. > Prevent block eviction under us if reads are in progress from the BBs > --------------------------------------------------------------------- > > Key: HBASE-12295 > URL: https://issues.apache.org/jira/browse/HBASE-12295 > Project: HBase > Issue Type: Sub-task > Components: regionserver, Scanners > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Fix For: 2.0.0 > > Attachments: HBASE-12295.pdf, HBASE-12295_1.patch, HBASE-12295_1.pdf, HBASE-12295_trunk.patch > > > While we try to serve the reads from the BBs directly from the block cache, we need to ensure that the blocks does not get evicted under us while reading. This JIRA is to discuss and implement a strategy for the same. -- This message was sent by Atlassian JIRA (v6.3.4#6332)