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 52E2D200B5A for ; Thu, 4 Aug 2016 16:58:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 515A5160AAE; Thu, 4 Aug 2016 14:58:23 +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 BECF0160A6A for ; Thu, 4 Aug 2016 16:58:22 +0200 (CEST) Received: (qmail 23184 invoked by uid 500); 4 Aug 2016 14:58:21 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 22890 invoked by uid 99); 4 Aug 2016 14:58:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2016 14:58:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AD16A2C0DA8 for ; Thu, 4 Aug 2016 14:58:20 +0000 (UTC) Date: Thu, 4 Aug 2016 14:58:20 +0000 (UTC) From: "Daryn Sharp (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10722) Fix race condition in TestEditLog#testBatchedSyncWithClosedLogs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 04 Aug 2016 14:58:23 -0000 [ https://issues.apache.org/jira/browse/HDFS-10722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15407891#comment-15407891 ] Daryn Sharp commented on HDFS-10722: ------------------------------------ The remainder of the test case still has value so I wouldn't short out the entire test. > Fix race condition in TestEditLog#testBatchedSyncWithClosedLogs > --------------------------------------------------------------- > > Key: HDFS-10722 > URL: https://issues.apache.org/jira/browse/HDFS-10722 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Attachments: HDFS-10722.patch > > > The test may fail the following assertion if async edit logs are enabled: > {{logging edit without syncing should do not affect txid expected:<1> but was:<2>}}. The async thread is doing batched syncs in the background. logSync just ensures the edit is durable, so the txid may increase prior to sync. It's a race. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org