Open v-xianya opened 2 years ago
This is by design. Undeleting any snapshot is equivalent to undeleting the base blob. There is no point undeleting two snapshots.
@JasonYeMSFT For soft-deleted regular blob snapshots, the 'Undelete' is enable for this scenario. It would be better to make the behavior consistent between regular blob container and ADLS Gen2 blob container.
@v-xianya That makes sense. For non-gen2 we block undelete if there are deleted items with the same name. I need to make snapshots an exception.
For gen2 blobs, the work was blocked because the service hasn't implemented undelete for snapshots. I need to revisit https://github.com/microsoft/AzureStorageExplorer/issues/4670 to see if it's supported now.
It is still not possible for us to undelete individual snapshot items since we don't have their deletion id when listing. The deletion ids are available when we list without non-snapshots so I think this is still a service bug.
This is still not possible by 1.24.0. Moving to 1.25.0.
We are still not getting deletionIDs for gen2 blob snapshots.
Verified this issue on the rel 1.33.0 build 20240229.8. 'Undelete' action is enabled when selecting more than one soft-deleted ADLS Gen2 blob snapshots. So, we are going to close it.
I verified this but I am seeing both undelete actions disabled, like issue #7781. Besides, undeleting snapshots still doesn't work because of the same reason I mentioned above.
Storage Explorer Version: 1.23.0-dev Build Number: 20220214.5 Branch: main Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Monterey 12.2 How Found: Ad-hoc testing Regression From: Not a regression
Steps to Reproduce
Expected Experience
The action 'Undelete' is enabled.
Actual Experience
The action 'Undelete' is disabled.