mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Don't tier directory objects (#19891)
Directory objects are used by applications that simulate the folder structure of an on-disk filesystem. These are zero-byte objects with names ending with '/'. They are only used to check whether a 'folder' exists in the namespace.
This commit is contained in:
committed by
GitHub
parent
2f6e03fb60
commit
069c4015cd
@@ -1233,7 +1233,7 @@ func evalActionFromLifecycle(ctx context.Context, lc lifecycle.Lifecycle, lr loc
|
||||
}
|
||||
|
||||
func applyTransitionRule(event lifecycle.Event, src lcEventSrc, obj ObjectInfo) bool {
|
||||
if obj.DeleteMarker {
|
||||
if obj.DeleteMarker || obj.IsDir {
|
||||
return false
|
||||
}
|
||||
globalTransitionState.queueTransitionTask(obj, event, src)
|
||||
|
||||
Reference in New Issue
Block a user