[
https://issues.apache.org/jira/browse/HDFS-5385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HDFS-5385:
--------------------------------
Attachment: HDFS-5385.1.patch
This patch adds the RPC client ID and call ID to serialization and
deserialization of the 5 new edit log ops that were added on the HDFS-4949
branch. I've also updated relevant retry cache and HA test suites to cover
these ops.
The patch carries a binary diff to update the editsStored file used by
{{TestOfflineEditsViewer}}. It's applicable to the HDFS-4949 branch using "git
apply --binary".
> Caching RPCs are AtMostOnce, but do not persist client ID and call ID to edit
> log.
> ----------------------------------------------------------------------------------
>
> Key: HDFS-5385
> URL: https://issues.apache.org/jira/browse/HDFS-5385
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: HDFS-4949
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Attachments: HDFS-5385.1.patch
>
>
> All of the new caching RPCs defined on {{ClientProtocol}} are annotated
> {{@AtMostOnce}}. However, their underlying edit log operations do not
> persist the RPC client ID and call ID. In the event of an HA failover, the
> new primary will not be able to guarantee at-most-once semantics if the
> clients retry.
--
This message was sent by Atlassian JIRA
(v6.1#6144)