mirror of
https://github.com/minio/minio.git
synced 2025-07-26 08:50:08 -04:00
do not need to trace ignored objects (#15894)
This commit is contained in:
parent
07b6dce1a5
commit
9fff315555
@ -595,12 +595,12 @@ func (r *BatchJobReplicateV1) Start(ctx context.Context, api ObjectLayer, job Ba
|
|||||||
stopFn := globalBatchJobsMetrics.trace(batchReplicationMetricObject, job.ID, attempts, result)
|
stopFn := globalBatchJobsMetrics.trace(batchReplicationMetricObject, job.ID, attempts, result)
|
||||||
success := true
|
success := true
|
||||||
if err := r.ReplicateToTarget(ctx, api, c, result, retry); err != nil {
|
if err := r.ReplicateToTarget(ctx, api, c, result, retry); err != nil {
|
||||||
stopFn(err)
|
|
||||||
if isErrVersionNotFound(err) || isErrObjectNotFound(err) {
|
if isErrVersionNotFound(err) || isErrObjectNotFound(err) {
|
||||||
// object must be deleted concurrently, allow
|
// object must be deleted concurrently, allow
|
||||||
// these failures but do not count them
|
// these failures but do not count them
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
stopFn(err)
|
||||||
logger.LogIf(ctx, err)
|
logger.LogIf(ctx, err)
|
||||||
success = false
|
success = false
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user