You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today if you delete all files in an implicit directory (directory that is not mapped directly to an object), the directory will disappear after the last file in that directory has been deleted. For example, consider your bucket has the following keys:
The blue directory is an implicit directly as it relies on colors/blue/image1.jpg and colors/blue/image2.jpg to exist. When a user deletes image1.jpg and image2.jpg from Mountpoint the bucket will be left with the following keys:
colors/red/image.jpg
colors/list.txt
This means the next lookup on blue directory will fail with ENOENT.
This behavior does not align with other file systems and could be unexpected for some applications. Mountpoint should keep the local view of the implicit directory unless there is an rmdir call to remove the empty directory.
The text was updated successfully, but these errors were encountered:
Tell us more about this new feature.
Today if you delete all files in an implicit directory (directory that is not mapped directly to an object), the directory will disappear after the last file in that directory has been deleted. For example, consider your bucket has the following keys:
The
blue
directory is an implicit directly as it relies oncolors/blue/image1.jpg
andcolors/blue/image2.jpg
to exist. When a user deletesimage1.jpg
andimage2.jpg
from Mountpoint the bucket will be left with the following keys:This means the next lookup on
blue
directory will fail withENOENT
.This behavior does not align with other file systems and could be unexpected for some applications. Mountpoint should keep the local view of the implicit directory unless there is an
rmdir
call to remove the empty directory.The text was updated successfully, but these errors were encountered: