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 5678E10174 for ; Mon, 14 Oct 2013 22:13:43 +0000 (UTC) Received: (qmail 5726 invoked by uid 500); 14 Oct 2013 22:13:43 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 5690 invoked by uid 500); 14 Oct 2013 22:13:43 -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 5618 invoked by uid 99); 14 Oct 2013 22:13:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Oct 2013 22:13:43 +0000 Date: Mon, 14 Oct 2013 22:13:42 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9754) Consider eliminating threadlocals from MVCC code 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-9754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794544#comment-13794544 ] Ted Yu commented on HBASE-9754: ------------------------------- w.r.t. the StoreScanner constructors, there're two which don't have Store argument. These two constructors are for testing. The other constructors accept Store argument which has reference to HRegion. Looks like the approach described above can be simplified. > Consider eliminating threadlocals from MVCC code > ------------------------------------------------ > > Key: HBASE-9754 > URL: https://issues.apache.org/jira/browse/HBASE-9754 > Project: HBase > Issue Type: Bug > Reporter: Lars Hofhansl > > Brought up by [~vrodionov] and [~yuzhihong@gmail.com]. > Currently we use ThreadLocals to communicate the current readpoint between a RegionScanner and the Store\{File}Scanner's down the stack. > Since ThreadLocals are not cheap we should consider whether it is possible to pass the readpoint through the call stack instead. -- This message was sent by Atlassian JIRA (v6.1#6144)