mirror of https://github.com/minio/minio.git
Fix ILM expire workers exiting (#20578)
Fix expire workers exiting Under 2 conditions ILM expire workers would exit, eventually causing all workers to terminate.
This commit is contained in:
parent
ed5ed7e490
commit
6abe4128d7
|
@ -352,7 +352,7 @@ func (es *expiryState) Worker(input <-chan expiryOp) {
|
|||
traceFn := globalLifecycleSys.trace(oi)
|
||||
if !oi.TransitionedObject.FreeVersion {
|
||||
// nothing to be done
|
||||
return
|
||||
continue
|
||||
}
|
||||
|
||||
ignoreNotFoundErr := func(err error) error {
|
||||
|
@ -367,7 +367,7 @@ func (es *expiryState) Worker(input <-chan expiryOp) {
|
|||
if ignoreNotFoundErr(err) != nil {
|
||||
transitionLogIf(es.ctx, err)
|
||||
traceFn(ILMFreeVersionDelete, nil, err)
|
||||
return
|
||||
continue
|
||||
}
|
||||
|
||||
// Remove this free version
|
||||
|
|
Loading…
Reference in New Issue