Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.1, 3.4.0
    • fs/azure
    • ABFS: Support for conditional overwrite.

    Description

      Filesystem Create APIs that do not accept an argument for overwrite flag end up defaulting it to true. 

      We are observing that request count of creates with overwrite=true is more and primarily because of the default setting of the flag is true of the called Create API. When a create with overwrite ends up timing out, we have observed that it could lead to race conditions between the first create and retried one running almost parallel.

      To avoid this scenario for create with overwrite=true request, ABFS driver will always attempt to create without overwrite. If the create fails due to fileAlreadyPresent, it will resend the request with overwrite=true. 

       

       

       

      Attachments

        Issue Links

          Activity

            People

              snvijaya Sneha Vijayarajan
              snvijaya Sneha Vijayarajan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: