-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty folder not deleted #7694
Comments
@gison93 why are you expecting that the folder will be deleted if empty? Can you share what storage service you are working with?
|
@MRayermannMSFT it's ADLS Gen2. I expected that way because in the past I got this behavior. Actually I tested it on a non ADLS Gen2 and I got the behavior that I expected. Is there a way to enable the functionality? |
@gison93 so one of the things you get when you create an ADLS Gen2 storage account is hierarchical directory structure for the data in your blob containers.
This means that unlike non-ADLS Gen2 storage accounts, the folders in your blob containers are real (not virutal). The reason empty folders disappear in a non-ADLS Gen2 blob container disappear is because they are virtual, so without any blobs whose names define the existance of a folder, that folder does not exist. But for ADLS Gen2 blob containers, once you create a folder, it will not go away until you delete it. Does that make sense? |
I missed that info, thank you for the explanation! |
Preflight Checklist
Storage Explorer Version
1.32.1
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20231114.10
Platform
Windows
OS Version
Windows 10
Bug Description
When deleting all the files within a folder, the folder does not get deleted.
Steps to Reproduce
Actual Experience
When deleting all the files within a folder, the folder does not get deleted.
Expected Experience
When deleting all the files within a folder, the folder (now empty) is deleted.
Additional Context
No response
The text was updated successfully, but these errors were encountered: