mirror of https://github.com/minio/minio.git
safely ignore out of band deletions while decommissioning (#17473)
This commit is contained in:
parent
5a1612fe32
commit
15911c85f6
|
@ -757,6 +757,10 @@ func (z *erasureServerPools) decommissionPool(ctx context.Context, idx int, pool
|
||||||
})
|
})
|
||||||
var failure bool
|
var failure bool
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
|
||||||
|
// object deleted by the application, nothing to do here we move on.
|
||||||
|
continue
|
||||||
|
}
|
||||||
logger.LogIf(ctx, err)
|
logger.LogIf(ctx, err)
|
||||||
failure = true
|
failure = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue