[ 
https://issues.apache.org/jira/browse/HDFS-10722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15408185#comment-15408185
 ] 

Arpit Agarwal commented on HDFS-10722:
--------------------------------------

Looks like this commit broke the branch-2.8 build in tests. Pushed a change to 
fix the build, verified TestEditLog passes after this change.
https://git-wip-us.apache.org/repos/asf?p=hadoop.git;a=commitdiff;h=f3424d662a662dd7148c5aa8bb59be2e558afa0c

> 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
>             Fix For: 2.8.0, 3.0.0-alpha2
>
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to