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
{{ message }}
Repository navigation
Commit 9a58c8b
Browse filesBrowse the repository at this point in the historyBrowse files
fix: delete PVCs before pod in cnpg destroy to prevent race condition
The destroy command deleted the pod first, then the PVCs. Between those
calls, the operator's reconcile loop could see dangling PVCs and
recreate the pod, requiring a second invocation of destroy to clean up.
Delete PVCs before the pod to match the deletion order used by the
operator's internal ensureInstanceIsDeleted in cluster_scale.go.
Signed-off-by: Daan Vinken <daanvinken@tythus.com>
0 commit comments