Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 53647200BC5 for ; Mon, 7 Nov 2016 09:03:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 508B7160AEB; Mon, 7 Nov 2016 08:03:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BD7AE160AF9 for ; Mon, 7 Nov 2016 09:02:59 +0100 (CET) Received: (qmail 38479 invoked by uid 500); 7 Nov 2016 08:02:58 -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 38417 invoked by uid 99); 7 Nov 2016 08:02:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2016 08:02:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7C8912C2A69 for ; Mon, 7 Nov 2016 08:02:58 +0000 (UTC) Date: Mon, 7 Nov 2016 08:02:58 +0000 (UTC) From: "Duo Zhang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17035) Check why we roll a wal writer at 10MB when the configured roll size is 120M+ with AsyncFSWAL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 07 Nov 2016 08:03:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-17035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15643441#comment-15643441 ] Duo Zhang commented on HBASE-17035: ----------------------------------- No. The waitForSafePoint is used to confirm that all out-going data have been acked, which means there will be no synccompleted after we return from waitForSafePoint and before the switch of writer. And the doReplaceWriter is protected by rollWriterLock, so it is impossible that we request a log roll again when there is a doReplaceWriter actively running. > Check why we roll a wal writer at 10MB when the configured roll size is 120M+ with AsyncFSWAL > --------------------------------------------------------------------------------------------- > > Key: HBASE-17035 > URL: https://issues.apache.org/jira/browse/HBASE-17035 > Project: HBase > Issue Type: Sub-task > Components: wal > Affects Versions: 2.0.0 > Reporter: Duo Zhang > Assignee: Duo Zhang > Fix For: 2.0.0 > > > Found this when addressing HBASE-16890. It is one of the possible reason that why AsyncFSWAL performs worse than FSHLog when running PE tool. > https://issues.apache.org/jira/browse/HBASE-16890?focusedCommentId=15636688&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15636688 -- This message was sent by Atlassian JIRA (v6.3.4#6332)