You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
controllers: fix decommission stuck when pod is deleted
When a Cassandra pod is deleted during decommission (e.g., StatefulSet
scaled down manually), casskop gets stuck in StatusOngoing state
because it tries to get a non-existent pod and returns an error
instead of transitioning to StatusFinalizing for PVC cleanup.
This fix handles the IsNotFound error case during StatusOngoing by
transitioning to StatusFinalizing and proceeding with PVC cleanup,
similar to how StatusFinalizing already handles this case.
The fix ensures casskop can properly recover when pods are deleted
during decommission operations, allowing the cluster to scale correctly.
0 commit comments