Draft
Conversation
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
MCK 1.7.1 Release NotesOther Changes
|
3 tasks
…m-migration-feature-branch
# Summary
<!-- Enter your PR summary here. Try to emphasize on WHY this change is
needed, followed by what's being done in the PR. -->
## Proof of Work
<!-- Enter your proof that it works here.-->
## Checklist
- [ ] Have you linked a jira ticket and/or is the ticket in the title?
- [ ] Have you checked whether your jira ticket required DOCSP changes?
- [ ] Have you added changelog file?
- use `skip-changelog` label if not needed
- refer to [Changelog files and Release
Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes)
section in CONTRIBUTING.md for more details
---------
Co-authored-by: Lucian Tosa <[email protected]>
This was referenced Mar 3, 2026
…m-migration-feature-branch
# Summary
* changed the ExternalMember struct to include `type`, `hostname` and
`replicaSetName`
* Reverted the previous replica set member id change
* Changed "checkIfHasExcessProcesses" to allow deployments with
`externalMembers`
* Added the vm_migration tests to evergreen CI
## Proof of Work
* CI is green
* vm_migrationt test passes
## Checklist
- [ ] Have you linked a jira ticket and/or is the ticket in the title?
- [ ] Have you checked whether your jira ticket required DOCSP changes?
- [ ] Have you added changelog file?
- use `skip-changelog` label if not needed
- refer to [Changelog files and Release
Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes)
section in CONTRIBUTING.md for more details
# Summary
<!-- Enter your PR summary here. Try to emphasize on WHY this change is
needed, followed by what's being done in the PR. -->
## Proof of Work
<!-- Enter your proof that it works here.-->
## Checklist
- [ ] Have you linked a jira ticket and/or is the ticket in the title?
- [ ] Have you checked whether your jira ticket required DOCSP changes?
- [ ] Have you added changelog file?
- use `skip-changelog` label if not needed
- refer to [Changelog files and Release
Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes)
section in CONTRIBUTING.md for more details
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evergreen <[email protected]>
Co-authored-by: Julien-Ben <[email protected]>
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.

Summary
This pull request introduces support for two new fields,
externalMembersandreplicaSetNameOverride, in the MongoDB custom resource definitions (CRDs) and associated Go types, and updates the handling of replica set merging logic to accommodate these changes. The PR also adds a utility method for agent authentication and updates test utilities and test cases to align with the new method signatures and structures.Key changes:
API and CRD Enhancements
externalMembers(array of strings) andreplicaSetNameOverride(string) fields to theDbCommonSpecGo struct and to the MongoDB and MongoDBMultiCluster CRDs, allowing users to specify external replica set members and override the replica set name. [1] [2] [3] [4] [5]Deep Copy and Utility Methods
DeepCopyIntomethod forDbCommonSpecto correctly handle the newexternalMembersfield.GetAutomationUserNamemethod toAgentAuthenticationto provide a default username if none is specified.Deployment and Replica Set Merge Logic
MergeReplicaSetmethod in the deployment logic to accept anexternalMembersparameter, and updated all call sites (including test helpers and sharded cluster merge logic) to pass this new argument. The merge logic now also passesexternalMembersto themergeFromfunction. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]Test Updates
MergeReplicaSetsignature and to construct replica sets with the new fields as needed. Also updated test construction of replica sets to use the new argument order forNewReplicaSet. [1] [2] [3] [4] [5] [6]These changes collectively enhance the flexibility and correctness of MongoDB deployment management, especially in scenarios involving external replica set members or custom replica set names.
Checklist
skip-changeloglabel if not needed