You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org> on 2012/04/06 01:26:23 UTC
[jira] [Commented] (HDFS-3212) Persist the epoch received by the
JournalService
[ https://issues.apache.org/jira/browse/HDFS-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247836#comment-13247836 ]
Suresh Srinivas commented on HDFS-3212:
---------------------------------------
There is some discussion in HDFS-3077 about this. Currently two alternatives under consideration are:
# Use the record we write during starting of a log segment to record the epoch.
#* On fence method call, a JournalService promises not to accept any other requests from old active.
#* After fence, the next call is to roll, when a new log segment is created. JournalService records in this record the epoch.
#* This fits in nicely with every log segment belongs to a single epoch.
# Use a separate metadata file to record epoch.
Based on discussions in 3077, lets choose one of the options.
> Persist the epoch received by the JournalService
> ------------------------------------------------
>
> Key: HDFS-3212
> URL: https://issues.apache.org/jira/browse/HDFS-3212
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: Shared journals (HDFS-3092)
> Reporter: Suresh Srinivas
>
> epoch received over JournalProtocol should be persisted by JournalService.
--
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