[ 
https://issues.apache.org/jira/browse/HDFS-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-5024:
--------------------------------

    Attachment: HDFS-5024.004.patch

Based on offline discussion with Jing and Suresh. Return true for repeated 
calls unless the block was deleted between two attempts.
                
> Make createCommitBlockSynchronization idempotent
> ------------------------------------------------
>
>                 Key: HDFS-5024
>                 URL: https://issues.apache.org/jira/browse/HDFS-5024
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-5024.001.patch, HDFS-5024.002.patch, 
> HDFS-5024.003.patch, HDFS-5024.004.patch
>
>
> commitBlockSynchronization is not idempotent (repeated invocations with the 
> same arguments will throw an exception). By making it Idempotent we can 
> remove the requirement to track invocations using the retry cache.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to