Skip to content

Commit

Permalink
avoid worker restart requeue
Browse files Browse the repository at this point in the history
  • Loading branch information
bdevcich committed Oct 27, 2023
1 parent fc9ba37 commit c70b5fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions controllers/datamovementmanager_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,10 @@ func (r *DataMovementManagerReconciler) removeLustreFileSystemsFinalizersIfNeces
}
}

if len(finalizersToRemove) == 0 {
return nil, nil
}

// Now the DS does not have any lustre filesystems that are being deleted, verify that the
// daemonset's pods (i.e. dm worker pods) have restarted
d := ds.Status.DesiredNumberScheduled
Expand Down

0 comments on commit c70b5fa

Please sign in to comment.