Repository navigation
test(e2e): tolerate pod recreation with same name in data corruption test - #11315
Merged
Merged
Conversation
leonardoce
requested review from
a team,
NiccoloFei,
jsilvela and
litaocdl
as code owners
August 13, 2026 05:58
Contributor
|
❗ By default, the pull request is configured to backport to all release branches.
|
With in-process bootstrap, the operator can reuse the freed serial and recreate a pod with the same name within seconds, so the old primary pod's name may never be observed as absent. Track the old pod's UID and consider it replaced once a pod with the same name has a different UID, not just when the name disappears. Co-authored-by: Armando Ruocco <[email protected]> Signed-off-by: Leonardo Cecchi <[email protected]>
leonardoce
force-pushed
the
e2e-datacorruption-fix
branch
from
August 13, 2026 06:01
70f6a87 to
082e051
Compare
Contributor
Author
|
/test |
Contributor
|
@leonardoce, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/31672870132 |
gbartolini
approved these changes
Aug 13, 2026
litaocdl
approved these changes
Aug 13, 2026
Collaborator
|
/ok-to-merge |
cnpg-bot
pushed a commit
that referenced
this pull request
Aug 13, 2026
…test (#11315) With in-process bootstrap, the operator can reuse the freed serial and recreate a pod with the same name within seconds, so the old primary pod's name may never be observed as absent. Track the old pod's UID and consider it replaced once a pod with the same name has a different UID, not just when the name disappears. Signed-off-by: Leonardo Cecchi <[email protected]> Co-authored-by: Armando Ruocco <[email protected]> (cherry picked from commit 0603a9c)
cnpg-bot
pushed a commit
that referenced
this pull request
Aug 13, 2026
…test (#11315) With in-process bootstrap, the operator can reuse the freed serial and recreate a pod with the same name within seconds, so the old primary pod's name may never be observed as absent. Track the old pod's UID and consider it replaced once a pod with the same name has a different UID, not just when the name disappears. Signed-off-by: Leonardo Cecchi <[email protected]> Co-authored-by: Armando Ruocco <[email protected]> (cherry picked from commit 0603a9c)
cnpg-bot
pushed a commit
that referenced
this pull request
Aug 13, 2026
…test (#11315) With in-process bootstrap, the operator can reuse the freed serial and recreate a pod with the same name within seconds, so the old primary pod's name may never be observed as absent. Track the old pod's UID and consider it replaced once a pod with the same name has a different UID, not just when the name disappears. Signed-off-by: Leonardo Cecchi <[email protected]> Co-authored-by: Armando Ruocco <[email protected]> (cherry picked from commit 0603a9c)
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.
With in-process bootstrap, the operator can reuse the freed serial and recreate a pod with the same name within seconds, so the old primary pod's name may never be observed as absent. Track the old pod's UID and consider it replaced once a pod with the same name has a different UID, not just when the name disappears.