VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

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

        Issue Links

          Activity

            People

            • Assignee:
              tmarquardt Thomas Marqardt
              Reporter:
              zsxwing Shixiong Zhu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment