[
https://issues.apache.org/jira/browse/HDFS-16452?focusedWorklogId=724244&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-724244
]
ASF GitHub Bot logged work on HDFS-16452:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Feb/22 02:57
Start Date: 10/Feb/22 02:57
Worklog Time Spent: 10m
Work Description: hfutatzhanghb opened a new pull request #3976:
URL: https://github.com/apache/hadoop/pull/3976
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
In current ObserverReadProxyProvider implementation, we use the following
code to invoke msync RPC.
```java
getProxyAsClientProtocol(failoverProxy.getProxy().proxy).msync();
```
But msync RPC maybe send to Observer NameNode in this way, and then failover
to Active NameNode. This can be avoid by applying this patch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 724244)
Remaining Estimate: 0h
Time Spent: 10m
> msync RPC should send to Acitve Namenode directly
> --------------------------------------------------
>
> Key: HDFS-16452
> URL: https://issues.apache.org/jira/browse/HDFS-16452
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namanode
> Affects Versions: 3.3.1
> Reporter: zhanghaobo
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In current ObserverReadProxyProvider implementation, we use the following
> code to invoke msync RPC.
> {code:java}
> getProxyAsClientProtocol(failoverProxy.getProxy().proxy).msync(); {code}
> But msync RPC maybe send to Observer NameNode in this way, and then failover
> to Active NameNode. This can be avoid by applying this patch.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]