Datalake Blob not overwriting using Microsoft Edge

Peter Holmes 0 Reputation points
2024-01-31T02:27:34.2733333+00:00

This is a weird one (and I have had several people try it to ensure its not user error)

I have an xlsx file uploaded (using the azure portal in Microsft Edge Browser) into one of our GEN 2 datalake containers

I make changes to the xlsx file on my desktop and upload again (With Microsoft Edge) to the same folder in the storage account, selecting the override option. I get no errors.

If I then download the xlsx file from Datalake to my desktop, it downloads the old version!

The really weird thing is

  1. If I try the above on another container using Micrsoft Edge I do not get the issue. Both contaiers are configures the same
  2. If I use Chrome instead of Edge on the original container, it downloads the updated version.

Anyone got any ideas what might be going on here?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,124 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SAMITSARKAR_MSFT 791 Reputation points Microsoft Employee
    2024-01-31T12:48:30.8566667+00:00

    Welcome to Microsoft Q&A platform and thanks for posting your question here. This is indeed an unusual issue. Here are a few possibilities that might explain what's happening:

    1. Caching: Browsers like Microsoft Edge and Google Chrome handle caching differently. It's possible that Edge is caching the old version of the file, which is why you see the old version even after uploading a new one.
    2. Overwrite Issues: Azure Data Lake is not recommended for overwriting existing files. If you want to use the same filename and location, you can replace a file by overwriting it or delete the existing file and then upload.
    3. FileClient Settings: If you're using ADLS FileClient for uploading, you should set the Close option to true. Then the Storage Event will be sent yet another time after the upload stream was closed.
    4. Metadata Delay: There could be a delay in updating the metadata of the file in Azure Data Lake. You can consider using GetMetaData activity & If activity for achieving this.
    5. API Usage: If you're using an API for uploading the file, you should change position: currentLength to position: currentLength + fileSize in the Flush method. I would recommend trying to clear your browser cache or use an incognito window in Edge to see if that resolves the issue. If the problem persists, you might want to look into the other possibilities I mentioned. Hope this helps. Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue. Thanks
    0 comments No comments

  2. Anand Prakash Yadav 7,845 Reputation points Microsoft External Staff
    2024-02-01T04:46:03.69+00:00

    Hello Peter Holmes,

    Thank you for posting your query here!

    I have tried to repro the issue, following are the steps I have followed in an Edge browser:

    · Created a storage account with Azure Data Lake Storage Gen2.

    · Created a test container in the Storage Account.

    · Created a folder in the container and uploaded an Excel file.
    User's image

    · Made changes to the Excel file on my local computer and overwrote the file.
    User's image
    · Downloaded the overwrote Excel file, and it reflects all the changes that were made.

    If the issue persists, it's possible that Microsoft Edge is caching the previous version of the file. Try clearing the browser cache and then download the file again.

    Ensure that you are using the latest version of Microsoft Edge. Consider updating to the latest version or trying different versions to see if the issue persists.

    Also, you may try disabling extensions or using Edge in incognito or private browsing mode to see if the problem persists.

    And if the issue still persists, please reach out to Microsoft Edge support forums here:

    https://techcommunity.microsoft.com/t5/microsoft-edge-insider/ct-p/MicrosoftEdgeInsider

     

    If you have any further queries on Azure platform, please let us know. I’m happy to assist you further.

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.