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 11db475
Browse filesBrowse the repository at this point in the historyBrowse files
fix(bootstrap): recover lost first-primary initialization Job (#11039)
When createPrimaryInstance loses a status-patch optimistic-lock conflict
after creating the data PVC but before creating the initialization Job,
the orphan Pending PVC is counted as an instance, so the cluster looks
past-bootstrap and the bootstrap gate is never re-entered. The PVC-state
reconciler instead takes the reattach path and waits forever for a PVC
that no Job will ever mark ready.
Make the PVC-state reconciler self-healing: when the selected primary
instance's PVC group is not ready and no initialization Job exists for
it, recreate the bootstrap Job reusing the serial already assigned to
the PVC, so no second instance is allocated.
Closes#11036
Refs #4147
Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Co-authored-by: Armando Ruocco <[email protected]>
0 commit comments