hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-1186) 0.20: DNs should interrupt writers at start of recovery
Date Thu, 03 Jun 2010 20:03:59 GMT
0.20: DNs should interrupt writers at start of recovery
-------------------------------------------------------

                 Key: HDFS-1186
                 URL: https://issues.apache.org/jira/browse/HDFS-1186
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: data-node
    Affects Versions: 0.20-append
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
            Priority: Blocker


When block recovery starts (eg due to NN recovering lease) it needs to interrupt any writers
currently writing to those blocks. Otherwise, an old writer (who hasn't realized he lost his
lease) can continue to write+sync to the blocks, and thus recovery ends up truncating data
that has been sync()ed.

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