Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16080

RBF: Invoking method in all locations should break the loop after successful result

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.0, 3.3.2
    • None
    • Reviewed

    Description

      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.

      Attachments

        Activity

          People

            vjasani Viraj Jasani
            vjasani Viraj Jasani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h