Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0, 3.0.1
    • Component/s: fs/azure
    • Labels:
      None

      Description

      When multiple threads rename files to the same target path, more than 1 threads can succeed. It's because check and copy file in `rename` is not atomic.

      I would expect it's atomic just like HDFS.

        Attachments

        1. HADOOP-15086-001.patch
          14 kB
          Thomas Marquardt
        2. HADOOP-15086-002.patch
          14 kB
          Thomas Marquardt
        3. RenameReproducer.java
          2 kB
          Shixiong Zhu

          Issue Links

            Activity

              People

              • Assignee:
                tmarquardt Thomas Marquardt
                Reporter:
                zsxwing Shixiong Zhu
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: