mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user