Skip to content

Commit bb95984

Browse files
authored
Remove availableReplicas check (#545)
1 parent c68d839 commit bb95984

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

operator/internal/controller/redpanda/redpanda_decommission_controller.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -315,13 +315,6 @@ func (r *DecommissionReconciler) reconcileDecommission(ctx context.Context, log
315315
return ctrl.Result{Requeue: true, RequeueAfter: 10 * time.Second}, nil
316316
}
317317

318-
// This helps avoid decommissioning nodes that are starting up where, say, a node has been removed
319-
// and you need to move it and start a new one
320-
if availableReplicas != 0 {
321-
log.Info("have not reached steady state yet, requeue here")
322-
return ctrl.Result{Requeue: true, RequeueAfter: 10 * time.Second}, nil
323-
}
324-
325318
valuesMap, err := getHelmValues(ctx, r, log, releaseName, namespace, r.OperatorMode)
326319
if err != nil {
327320
return ctrl.Result{}, fmt.Errorf("could not retrieve values, probably not a valid managed helm release: %w", err)

0 commit comments

Comments
 (0)