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 19B1A18FC5 for ; Thu, 10 Sep 2015 20:33:46 +0000 (UTC) Received: (qmail 47318 invoked by uid 500); 10 Sep 2015 20:33:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 47267 invoked by uid 500); 10 Sep 2015 20:33:45 -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 47250 invoked by uid 99); 10 Sep 2015 20:33:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2015 20:33:45 +0000 Date: Thu, 10 Sep 2015 20:33:45 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-14401) Stamp failed appends with sequenceid too.... Cleans up latches MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 stack created HBASE-14401: ----------------------------- Summary: Stamp failed appends with sequenceid too.... Cleans up latches Key: HBASE-14401 URL: https://issues.apache.org/jira/browse/HBASE-14401 Project: HBase Issue Type: Sub-task Components: test, wal Reporter: stack Assignee: stack Looking in test output I see we can sometimes get stuck waiting on sequenceid... The parent issues redo of our semantic makes it so we encounter failed append more often around damaged WAL. This patch makes it so we stamp sequenceid always, even if the append fails. This way all sequenceids are accounted for but more important, the latch on sequenceid down in WALKey will be cleared.. where before it was not being cleared (there is no global list of outstanding WALKeys waiting on sequenceids so no way to clean them up... we don't need such a list if we ALWAYS stamp the sequenceid). -- This message was sent by Atlassian JIRA (v6.3.4#6332)