hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10722) Fix race condition in TestEditLog#testBatchedSyncWithClosedLogs
Date Thu, 04 Aug 2016 13:35:20 GMT
Daryn Sharp created HDFS-10722:

             Summary: 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

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

To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org

View raw message