Repository navigation
revert(restore): break certificate-wait deadlock in orphan-PVC restore - #11548
Merged
Merged
Conversation
Contributor
|
❗ By default, the pull request is configured to backport to all release branches.
|
Member
Author
|
/ok-to-merge revert |
armru
approved these changes
Sep 22, 2026
leonardoce
approved these changes
Sep 22, 2026
This reverts commit 0d65c25 (#11492). No genuinely new Pod ever reaches the restore gate before the cluster is marked initialized, so #11492 has no legitimate beneficiary: it only changes where a stale bootstrap-instance init container gets stuck. Before #11492, a stale join-role container parked on the certificate wait (#11491). After it, the wait resolves immediately and the same container proceeds into the join step instead, where it now hangs dialing a primary with no running pod (#11503). The initdb-role case (#11505) is unaffected either way, since initdb never waits on certificate status. Reverting restores the #11491 behavior; it does not fix the underlying stale-container bug, which needs its own fix tracked in #11503. Signed-off-by: Marco Nenciarini <[email protected]>
mnencia
force-pushed
the
dev/revert-11492
branch
from
September 22, 2026 15:57
6cb7b4b to
9ffc1cd
Compare
cnpg-bot
pushed a commit
that referenced
this pull request
Sep 22, 2026
#11548) This reverts commit 0d65c25 (#11492). No genuinely new Pod ever reaches the restore gate before the cluster is marked initialized, so #11492 has no legitimate beneficiary: it only changes where a stale bootstrap-instance init container gets stuck. Before #11492, a stale join-role container parked on the certificate wait (#11491). After it, the wait resolves immediately and the same container proceeds into the join step instead, where it now hangs dialing a primary with no running pod (#11503). The initdb-role case (#11505) is unaffected either way, since initdb never waits on certificate status. Reverting restores the #11491 behavior; it does not fix the underlying stale-container bug, which needs its own fix tracked in #11503. Signed-off-by: Marco Nenciarini <[email protected]> (cherry picked from commit a6afa71)
mnencia
added a commit
that referenced
this pull request
Sep 23, 2026
#11548) This reverts commit 0d65c25 (#11492). No genuinely new Pod ever reaches the restore gate before the cluster is marked initialized, so #11492 has no legitimate beneficiary: it only changes where a stale bootstrap-instance init container gets stuck. Before #11492, a stale join-role container parked on the certificate wait (#11491). After it, the wait resolves immediately and the same container proceeds into the join step instead, where it now hangs dialing a primary with no running pod (#11503). The initdb-role case (#11505) is unaffected either way, since initdb never waits on certificate status. Reverting restores the #11491 behavior; it does not fix the underlying stale-container bug, which needs its own fix tracked in #11503. Signed-off-by: Marco Nenciarini <[email protected]> (cherry picked from commit a6afa71)
mnencia
added a commit
that referenced
this pull request
Sep 23, 2026
#11548) This reverts commit 0d65c25 (#11492). No genuinely new Pod ever reaches the restore gate before the cluster is marked initialized, so #11492 has no legitimate beneficiary: it only changes where a stale bootstrap-instance init container gets stuck. Before #11492, a stale join-role container parked on the certificate wait (#11491). After it, the wait resolves immediately and the same container proceeds into the join step instead, where it now hangs dialing a primary with no running pod (#11503). The initdb-role case (#11505) is unaffected either way, since initdb never waits on certificate status. Reverting restores the #11491 behavior; it does not fix the underlying stale-container bug, which needs its own fix tracked in #11503. Signed-off-by: Marco Nenciarini <[email protected]> (cherry picked from commit a6afa71)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reverts commit 0d65c25 (#11492).
No genuinely new Pod ever reaches the restore gate before the cluster is marked initialized, so #11492 has no legitimate beneficiary: it only changes where a stale bootstrap-instance init container gets stuck. Before #11492, a stale join-role container parked on the certificate wait (#11491). After it, the wait resolves immediately and the same container proceeds into the join step instead, where it now hangs dialing a primary with no running pod (#11503). The initdb-role case (#11505) is unaffected either way, since initdb never waits on certificate status.
Reverting restores the #11491 behavior; it does not fix the underlying stale-container bug, which needs its own fix tracked in #11503.