fix(mongodb): bound switchover completion - #3278
Draft
weicao wants to merge 9 commits into
Draft
Conversation
added 9 commits
July 28, 2026 22:48
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3278 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 165 166 +1
Lines 25632 25876 +244
======================================
- Misses 25632 25876 +244 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Problem
MongoDB switchover currently treats any non-primary role as success, invokes
syncer without a response deadline, and returns immediately after the request.
The syncer request only creates a completion ConfigMap; actual promotion is
complete when MongoDB HA deletes that token. A connected syncer that withholds
its response can also block indefinitely.
Change
visible classified stderr, and a 50-second action ceiling; and
all supported ComponentVersion image mappings, and tool producers.
Evidence
24/0, Bash 5.324/0;102/0, Bash 5.3102/0;candidate rows pass;
sh -n, ShellCheck warning, diff-check, strict fsck, and cleanworktree pass;
DESIGN_CLEAR / BLOCKER_LIST0;APPROVE / BLOCKER_LIST0.Boundaries
This PR contains static and container-local evidence only. It does not claim
Kubernetes runtime acceptance, package readiness, formal product N, merge,
deploy, or release readiness.
Open PR #3241 and PR #3110 remove the current kubectl producer from the same
ComponentDefinitions. Any future rebase must preserve both kubectl on the
selected data volume and syncerctl on
/tools.