Resolve conflicts for merge 'ff39f35e4cb' into 'master'#2033
Merged
igorsol merged 1 commit intoJul 16, 2026
Merged
Conversation
Resolved the merge conflict in bazel/resmoke/resmoke.bzl by keeping Percona's removal of the MongoDB enterprise module jstests data dependencies. Percona (HEAD) deliberately removed all `//src/mongo/db/modules/enterprise/jstests/...` entries because PSMDB does not ship MongoDB's enterprise module. Upstream (theirs) only added new `audit/lib` entries to that same enterprise list, which are irrelevant to PSMDB, so they were dropped along with the rest. Resolved: bazel/resmoke/resmoke.bzl Note: commit created by mergai
|
psmdb-bot[bot] seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
igorsol
merged commit Jul 16, 2026
32eb7ac
into
mergai/master-ff39f35e4cb/conflict
5 of 7 checks passed
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.
Merge Info
mastere7eab3c1b195fad5cd1be2f519836be10530d34dff39f35e4cba1f65d72c42102cc4ddca8a8a2429Merge Context
Important Files Modified
src/mongo/db/storage/storage_engine.hsrc/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cppAuto-Merged Files
BUILD.bazelbazel/resmoke/resmoke.bzlbuildscripts/resmokelib/testing/fixtures/replicaset.pybuildscripts/resmokelib/testing/fixtures/shardedcluster.pyjstests/core/catalog/views/views_all_commands.jssrc/mongo/base/error_codes.ymlsrc/mongo/db/BUILD.bazelsrc/mongo/db/pipeline/BUILD.bazelsrc/mongo/db/repl/replication_coordinator_impl.cppsrc/mongo/db/storage/kv/kv_engine.hsrc/mongo/db/storage/storage_engine.hsrc/mongo/db/storage/storage_engine_impl.cppsrc/mongo/db/storage/storage_engine_impl.hsrc/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cppsrc/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.hsrc/mongo/rpc/BUILD.bazelsrc/mongo/shell/servers.jsMerged with strategy: ort
Show details
ff39f35e4cba1f65d72c42102cc4ddca8a8a2429d2147646ae0c99821ff1d0f2b6b9ba4e773ffc27b66c157229cd7e420f78daddd2caa410afb1226ddbd4712b28c9f7ec355054992c0aae1a3afde0916f088e98b9d159dc58f40c0aff2ab9cd668785525c9d8d2019d43e11c6f077b23eb2065cf4b9c897eeb4553f8ab7609a1b7b441c5bf6055fadd5c5a6785ccb1510f55cc2e50f7176f8408e623c7cd98bd8c8fc5b24696f8f96f606b71de74dfc08c0422ab896d14d79fb4bb1946dba35edce8348d16bf4d19f7c2ac308c70f2b50aebe56f4b876a27cc1e6a5374cd3b4701a11c40ede0aae691a1158cb85d323d4f8d01522a7c50609ccd7f78f66068a0b0443e79d490ec622ea4ecd8dfec15caca16516cfa7ea009f2512e2259ee589f26bd7e9cfe4841f725d5bcc77275ca8caa928c4be7ac2691da66348e161cae45b682a9aa955da61c42b43cb542104daa210ad47ad84999c41b73a7a548bdc30ac3772cc4d46352544c12a41a405543d7d5b8866121e52065060c00925fc9cefb744282e81149db37ad1232452b352c207c8efabdc59eecd161ac640190a6bc14a12cf23da3160f3bfbbde35f477a352b87b1dad994ad06d89e9186def6156a0d23258d6971bc865e3cff5d2072f406de1f12065bfbfd8cabe471903c53ac1b1974c60524105b958aca048d8566a83fc5eed8d3721a2b376462e373c901442fba0b2b589603e0b447a60cf6fd404789bc73c6c92023d397f70cb4a31600c1fcdb1057a38bdcab65b3fbb2b7603f33f903721d5af6cd81c38badc165948bb05a4640a3a88229aac1f42a3a11a5143cc5ac618b1ea32745662c7df126da49462080c9fe834de1b34f1ac4f34d6c5adfaa1036e951a9cc42fdba40c790230b55b8f1539c7c78ac56300b4fc801ce4d45c9a8efec717f58a4ed1b5b458cacaf6516eba383ae697eb288b54a9af36c40c85d885d0be61119cef6d5e29a7702d17f7ca10fde04fccef404ecc5cddd6902c6d53a93bbd5dea5081ecfb3a8d60911379deb41337880ad618d254678c676d50a61553fc3e0579ebcfdbc89e545ad2d4163f482bfc3149e5923b29b52de009a085bbe281d9c508b0ebc2f7e2ad3b059c1dfe9877a9efb1416516abcbb85e1bf6a23da7d38ad61b339c31efff9366dee4e575c9175fd20ea38232513dfe2def37018dc402b9210332ffbb0b7760df66c18a58dfeb37ba4274d2088c3337de84135e3dbazel testwhen running resmoke tests (#58569)1c3e8ef6c7095291aae974e0f4c15c6a064c50f2df335d6ad29fe87f0666a82e4e6427b4a7a491a15bd7a092d9acab7f84b836276810ae841e1881f8b162f6f44a77040026db3b97852ae6870bc6e53473967662a594b55bcd7aaa5c3eb05166e3ff9eef309f64e2f7a3632dc48f9a48a72233463e13d788aefec410944dda902e988f0f3ed061b72617e66289e3f5599c838bedb178565af4f86cca982f08933254e3bcef5ce46d6749e63a8abbf5f9aa75c894d93080d2fcf99387a8b77573b5f7a8e7df18b83cc01ca9ab285b9e4431038e9e86bc8a3267166294d27e6cb851981c724c346280b6d03e87bbe11e2bdac597a4a78a98fa249385f6844015c338b761e94c35d2863af1cb66af777e7eeaf6ef5a4e081ad1309027d9364bc003842115f6d84aa6324460c812Merge Description
Summary
Upstream merge of MongoDB changes into the PSMDB master branch. The most substantial change reworks the Bazel resmoke test rule to run the resmoke shim as a py_binary wrapped by a new private _resmoke_test rule instead of a plain py_test. The storage engine 'demote' API is renamed from demoteFromLeader() to demoteToFollower() across the KVEngine/StorageEngine hierarchy and given a real WiredTiger implementation, and the replication heartbeat handler gains an OperationContext parameter. Additional smaller changes include two new network error codes, test fixture/option tweaks, and several BUILD.bazel dependency adjustments. The only merge conflict, in bazel/resmoke/resmoke.bzl, was resolved by taking upstream's enterprise test-data dependency list.
Auto-Merged Files
BUILD.bazelbazel/resmoke/resmoke.bzlbuildscripts/resmokelib/testing/fixtures/replicaset.pybuildscripts/resmokelib/testing/fixtures/shardedcluster.pyjstests/core/catalog/views/views_all_commands.jssrc/mongo/base/error_codes.ymlsrc/mongo/db/BUILD.bazelsrc/mongo/db/pipeline/BUILD.bazelsrc/mongo/db/repl/replication_coordinator_impl.cppsrc/mongo/db/storage/kv/kv_engine.hsrc/mongo/db/storage/storage_engine.hsrc/mongo/db/storage/storage_engine_impl.cppsrc/mongo/db/storage/storage_engine_impl.hsrc/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cppsrc/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.hsrc/mongo/rpc/BUILD.bazelsrc/mongo/shell/servers.jsReview Notes
Only bazel/resmoke/resmoke.bzl had a real conflict (both modified); it is resolved with all conflict markers removed and upstream's enterprise audit test-data dependencies (audit/lib:all_javascript_files and audit/lib:localKey) accepted. The demoteFromLeader -> demoteToFollower rename is an API change spanning storage_engine.h, storage_engine_impl.{h,cpp}, kv_engine.h and the WiredTiger engine — reviewers should confirm no remaining callers reference the old demoteFromLeader name. Likewise processHeartbeatV1 gained an OperationContext* parameter, so verify all call sites/overrides were updated (only the signature line appears in this file's diff). No PSMDB-specific customizations were removed by this merge.
Agent Stats
Agent: claude_cli (version 2.1.211 (Claude Code))
Conflict Context
b608b7554ca0d5b8b136682998b46edc0a743cb1e7eab3c1b195fad5cd1be2f519836be10530d34dff39f35e4cba1f65d72c42102cc4ddca8a8a2429Conflicted Files
bazel/resmoke/resmoke.bzlConflict details
Their Commits
bazel/resmoke/resmoke.bzl9f2512e2259ee589f26bd7e9cfe4841f725d5bccbazel/resmoke/resmoke.bzl1539c7c78ac56300b4fc801ce4d45c9a8efec717Solutions
Solution 1
Summary
Resolved the merge conflict in bazel/resmoke/resmoke.bzl by keeping Percona's removal of the MongoDB enterprise module jstests data dependencies. Percona (HEAD) deliberately removed all
//src/mongo/db/modules/enterprise/jstests/...entries because PSMDB does not ship MongoDB's enterprise module. Upstream (theirs) only added newaudit/libentries to that same enterprise list, which are irrelevant to PSMDB, so they were dropped along with the rest.By: Agent (claude_cli v2.1.211 (Claude Code))
Resolved Files
bazel/resmoke/resmoke.bzlUnresolved Files
All conflicts have been resolved.
Modified Files
No additional files were modified.
Review Notes
The conflict was solely about the MongoDB enterprise module jstests data deps. Percona intentionally omits these because the enterprise module is not part of PSMDB, so the upstream-added audit/lib entries were also dropped. No functional PSMDB code is affected.
Agent Stats
Agent: claude_cli (version 2.1.211 (Claude Code))
note created with mergai 0.1.dev1+gaa14b121b