Forum Discussion
[Bug?] Azure Storage Undelete and Blob Index Tag
I am facing an issue with Azure Storage, not sure if this is a bug or by design?
This is what i did:
1. I have an Azure storage with a few blobs.
2. For each blob, i have a few index tags, like "netname", "sn", etc.
3. When i use the Azure portal or storage explorer, i can filter the blob list by tag value. For example "sn" = "123". The filter list is shown correctly.
4. Let say i deleted blobA, with tag sn="123"
5. Then i undelete blobA.
6. When i view the blob list in Azure portal, i can still see blobA with all its correct index tag value.
7. I filter the list with a tag value like "sn"="123". The filter list didn't show blobA.
This bug has impacted API FindBlobsByTags also.
Note: I configure the blob service without versioning, and Hierarchical namespace is disabled.
Please feedback on this issue.
2 Replies
- Yuvaraj_MadheswaranCopper ContributorHi Khoon Yong Chua,
Did you delete and undelete the blob right away or with some time duration? Azure will delete the Blob sequentially. So, there might be some issue with delete and undelete.
Please refer the below documentation to protect DB from accidental deletion as,
https://techcommunity.microsoft.com/t5/itops-talk-blog/how-to-protect-your-azure-blob-storage-from-accidental-deletion/ba-p/2104877#:~:text=1.,and%20finally%20save%20your%20configuration.- Khoon Yong ChuaBrass Contributorhi mr Yuvaraj,
The issue is after i UNDELETE the blob, the blob reappears in the Azure Storage browser.
However, when i filter by the correct tag value, the blob didn't show up.
Please see the steps in the first post.
Not sure MS can fix this bug or not.
Thanks.