mirror of
https://github.com/minio/minio.git
synced 2025-12-08 00:32:28 -05:00
fix: sleeper behavior in data scanner (#12164)
do not apply healReplication() for ILM expired, transitioned objects
This commit is contained in:
@@ -360,7 +360,7 @@ func (fs *FSObjects) scanBucket(ctx context.Context, bucket string, cache dataUs
|
||||
}
|
||||
|
||||
oi := fsMeta.ToObjectInfo(bucket, object, fi)
|
||||
sz := item.applyActions(ctx, fs, actionMeta{oi: oi})
|
||||
sz := item.applyActions(ctx, fs, actionMeta{oi: oi}, &sizeSummary{})
|
||||
if sz >= 0 {
|
||||
return sizeSummary{totalSize: sz}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user