mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
fix: avoid fan-out DeletePrefix calls for batch-expire and ILM (#19365)
This commit is contained in:
@@ -1221,6 +1221,8 @@ func applyExpiryOnNonTransitionedObjects(ctx context.Context, objLayer ObjectLay
|
||||
|
||||
if lcEvent.Action.DeleteAll() {
|
||||
opts.DeletePrefix = true
|
||||
// use prefix delete on exact object (this is an optimization to avoid fan-out calls)
|
||||
opts.DeletePrefixObject = true
|
||||
}
|
||||
var (
|
||||
dobj ObjectInfo
|
||||
|
||||
Reference in New Issue
Block a user