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. HADOOP-15086-001.patch
          14 kB
          Thomas Marqardt
        2. HADOOP-15086-002.patch
          14 kB
          Thomas Marqardt
        3. RenameReproducer.java
          2 kB
          Shixiong Zhu

        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: