You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/06/18 16:24:00 UTC

[jira] [Created] (HDFS-16080) RBF: Invoking method in all locations should break the loop after successful result

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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org