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 CB825DC8C for ; Tue, 18 Dec 2012 02:06:13 +0000 (UTC) Received: (qmail 99775 invoked by uid 500); 18 Dec 2012 02:06:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 99712 invoked by uid 500); 18 Dec 2012 02:06:13 -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 99703 invoked by uid 99); 18 Dec 2012 02:06:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 02:06:13 +0000 Date: Tue, 18 Dec 2012 02:06:13 +0000 (UTC) From: "binlijin (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-7375) Acquire readLock do not apply timeout in flushcache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 binlijin created HBASE-7375: ------------------------------- Summary: Acquire readLock do not apply timeout in flushcache Key: HBASE-7375 URL: https://issues.apache.org/jira/browse/HBASE-7375 Project: HBase Issue Type: Bug Components: regionserver Affects Versions: 0.96.0, 0.94.4 Reporter: binlijin Fix For: 0.96.0, 0.94.4 {code} HRegion public boolean flushcache() throws IOException { lock(lock.readLock()); } {code} The HRegion.flushcache is called by the normal flush cache, so if we use a timeout, the MemStoreFlusher may be get a RegionTooBusyException, it is safe to do not use a timeout. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira