[
https://issues.apache.org/jira/browse/HDFS-2766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183047#comment-13183047
]
Todd Lipcon commented on HDFS-2766:
-----------------------------------
Looks good. Can you add a javadoc to the new test case explaining what the
potential bug it's looking for is (just copy-paste from the jira description)?
Or point to HDFS-2766 in the javadoc?
> HA: test for case where standby partially reads log and then performs
> checkpoint
> --------------------------------------------------------------------------------
>
> Key: HDFS-2766
> URL: https://issues.apache.org/jira/browse/HDFS-2766
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Todd Lipcon
> Assignee: Aaron T. Myers
> Attachments: HDFS-2766-HDFS-1623.patch
>
>
> Here's a potential bug case that we don't currently test for:
> - SBN is reading a finalized edits file when NFS disappears halfway through
> (or some intermittent error happens)
> - SBN performs a checkpoint and uploads it to the NN
> - NN receives a checkpoint that doesn't correspond to the end of any log
> segment
> - Both NN and SBN should be able to restart at this point.
--
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