Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0, 3.0.1
    • fs/azure
    • 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. RenameReproducer.java
          2 kB
          Shixiong Zhu
        2. HADOOP-15086-001.patch
          14 kB
          Thomas Marqardt
        3. HADOOP-15086-002.patch
          14 kB
          Thomas Marqardt

        Issue Links

          Activity

            People

              tmarquardt Thomas Marqardt
              zsxwing Shixiong Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: