mirror of
https://github.com/minio/minio.git
synced 2025-04-22 11:26:36 -04:00
Log ILM failed object name (#20040)
Log so we know which object we are dealing with. Log each object once.
This commit is contained in:
parent
22c53b1c70
commit
107d951893
@ -1275,7 +1275,7 @@ func applyExpiryOnTransitionedObject(ctx context.Context, objLayer ObjectLayer,
|
|||||||
if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
|
if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
ilmLogIf(ctx, err)
|
ilmLogIf(ctx, fmt.Errorf("expireTransitionedObject(%s, %s): %w", obj.Bucket, obj.Name, err))
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
timeILM(1)
|
timeILM(1)
|
||||||
@ -1328,7 +1328,7 @@ func applyExpiryOnNonTransitionedObjects(ctx context.Context, objLayer ObjectLay
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// Assume it is still there.
|
// Assume it is still there.
|
||||||
ilmLogOnceIf(ctx, err, "non-transition-expiry")
|
ilmLogOnceIf(ctx, fmt.Errorf("DeleteObject(%s, %s): %w", obj.Bucket, obj.Name, err), "non-transition-expiry"+obj.Name)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if dobj.Name == "" {
|
if dobj.Name == "" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user