[
https://issues.apache.org/jira/browse/HDFS-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HDFS-3211:
----------------------------------
Attachment: HDFS-3211.txt
Early version of the patch with changes:
# Changed JournalProtocol to use JournalInfo instead of NamenodeRegistration -
continuing the work from HDFS-3204.
# All Journal methods are changed to include epoch
# Added fence method to JournalProtocol.
#* fence is allowed only if epoch is higher
#* In JournalService, in fence method the epoch is saved. Subsequently only the
requests with that epoch succeeds.
Will add unit tests.
> JournalProtocol changes required for introducing epoch and fencing
> ------------------------------------------------------------------
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: Shared journals (HDFS-3092)
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Attachments: HDFS-3211.txt, HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new
> method fence for fencing a JournalService. On BackupNode fence is a no-op.
--
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