Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D85971072D for ; Wed, 15 Jan 2014 09:31:25 +0000 (UTC) Received: (qmail 54307 invoked by uid 500); 15 Jan 2014 09:31:23 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 53648 invoked by uid 500); 15 Jan 2014 09:31:22 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 53580 invoked by uid 99); 15 Jan 2014 09:31:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 09:31:20 +0000 Date: Wed, 15 Jan 2014 09:31:20 +0000 (UTC) From: "Feng Honghua (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-10344) Improve writer performance by ignoring sync to hdfs when an asyncer's writes have been synced by other asyncer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Feng Honghua created HBASE-10344: ------------------------------------ Summary: Improve writer performance by ignoring sync to hdfs when an asyncer's writes have been synced by other asyncer Key: HBASE-10344 URL: https://issues.apache.org/jira/browse/HBASE-10344 Project: HBase Issue Type: Improvement Reporter: Feng Honghua Assignee: Feng Honghua By fixing [HBASE-10329|https://issues.apache.org/jira/browse/HBASE-10329], we know it's possible an asyncer's writes have been synced by other asyncer before it starts to do the sync. We distinguish this case and handle accordingly when the writer is null. But when writer is not null(most of the time), we also can check and ignore the sync if asyncer's writes have been synced by other asyncer before doing sync. Since sync is a quite heavy operation(together with following notifying notifier thread and log roll check) we can have some performance gain by ignoring it for such case. -- This message was sent by Atlassian JIRA (v6.1.5#6160)