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 4A9D3195FC for ; Sat, 23 Apr 2016 15:11:13 +0000 (UTC) Received: (qmail 67062 invoked by uid 500); 23 Apr 2016 15:11:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 66987 invoked by uid 500); 23 Apr 2016 15:11: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 66773 invoked by uid 99); 23 Apr 2016 15:11:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Apr 2016 15:11:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CBC402C1F5A for ; Sat, 23 Apr 2016 15:11:12 +0000 (UTC) Date: Sat, 23 Apr 2016 15:11:12 +0000 (UTC) From: "Duo Zhang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15699) Can not sync AsyncFSWAL if no edit is appended 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-15699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-15699: ------------------------------ Status: Patch Available (was: Open) > Can not sync AsyncFSWAL if no edit is appended > ---------------------------------------------- > > Key: HBASE-15699 > URL: https://issues.apache.org/jira/browse/HBASE-15699 > Project: HBase > Issue Type: Bug > Components: wal > Affects Versions: 2.0.0 > Reporter: Duo Zhang > Assignee: Duo Zhang > Fix For: 2.0.0 > > Attachments: HBASE-15699.patch > > > The problem is the txid that we assign to SyncFuture. In AsyncFSWAL, we will assign a zero txid if no edit is append, and it just equals to SyncFuture.NOT_DONE, so the sync request will never finish... -- This message was sent by Atlassian JIRA (v6.3.4#6332)