hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2797) HA: Add a test for the standby becoming active after a partial transaction is logged
Date Sun, 03 Jun 2012 06:02:23 GMT

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

Aaron T. Myers commented on HDFS-2797:
--------------------------------------

Hey Colin, patch looks pretty good to me.

One comment: if indeed tracker.skip does ever return less than skipAmt, it seems like we shouldn't
then call tracker.skip with the same argument, i.e. we need to lower skipAmt the next time
through the loop.
                
> HA: Add a test for the standby becoming active after a partial transaction is logged
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-2797
>                 URL: https://issues.apache.org/jira/browse/HDFS-2797
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: ha, name-node
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-2797.001.patch
>
>
> The existing failover tests only cover the case of graceful shutdown. We should make
sure the standby NN can become active even when the final transaction in an edit log is only
partially written to disk.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message