Viraj Jasani created HDFS-16080:
-----------------------------------
Summary: RBF: Invoking method in all locations should break the
loop after successful result
Key: HDFS-16080
URL: https://issues.apache.org/jira/browse/HDFS-16080
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: Viraj Jasani
Assignee: Viraj Jasani
rename, delete and mkdir used by Router client usually calls multiple locations
if the path is present in multiple sub-clusters. After invoking multiple
concurrent proxy calls to multiple clients, we iterate through all results and
mark anyResult true if at least one of them was successful. We should break the
loop if one of the proxy call result was successful rather than iterating over
remaining calls.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]