hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-1152) appendFile does not recheck lease in second synchronized block
Date Thu, 13 May 2010 23:37:43 GMT

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

Todd Lipcon updated HDFS-1152:
------------------------------

    Attachment: appendFile-recheck-lease.txt

I had attached this same patch to HDFS-142, but then realized it is a problem on trunk as
well. This is the 0.20-append version -- I'll write a patch that applies to trunk as well.

> appendFile does not recheck lease in second synchronized block
> --------------------------------------------------------------
>
>                 Key: HDFS-1152
>                 URL: https://issues.apache.org/jira/browse/HDFS-1152
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.21.0
>            Reporter: Todd Lipcon
>         Attachments: appendFile-recheck-lease.txt
>
>
> FSN.appendFile is made up of two synchronized sections. The second section assumes that
the file has not gotten modified during the unsynchronized part in between. We should recheck
the lease in the second block.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message