230 Commits

Author SHA1 Message Date
Cole Harbeck
d1d1e58c0f SERVER-107658 Move server_status code into an N&O owned sub-directory (#41120)
GitOrigin-RevId: eb44e53e46ca4beed28f8f29806771f3e68847df
2025-09-15 19:12:23 +00:00
ben-gawel
20a109e697 SERVER-100117 Add decoration on OperationContext for storing / accessing TracingState (#40687)
GitOrigin-RevId: ed083b2ec068406bfed7163d494944c1ccc2183d
2025-09-12 23:42:44 +00:00
Vishnu K
934279f644 SERVER-109940 Implement 'all' collection hash for extended validate (#41061)
Co-authored-by: Gregory Noma <gregory.noma@gmail.com>
GitOrigin-RevId: 6ccc98f30d3d366fa9a5ec2a70c9068280195c0d
2025-09-12 17:49:17 +00:00
wolfee
59e4f3f712 SERVER-101758 Adding a new local-only task executor for node local tasks (#40780)
GitOrigin-RevId: 3411033e57c98bd66b84365cd52b6dec189965b0
2025-09-08 13:13:28 +00:00
gitpushjoe
9c4a54be10 SERVER-109961 Create new module groups to categorize files in replication and add API visibilities to files in the new groups (#40797)
GitOrigin-RevId: 0fdbb0d9e4564bdca71d71c0ede460bf8b0afebe
2025-09-04 20:13:07 +00:00
Mathias Stearn
15a1fd96c3 SERVER-98435 fix minor bugs in modularity browser (#40912)
GitOrigin-RevId: da36d31a80b8091eff9640d29985707171180a6f
2025-09-04 14:20:25 +00:00
Jason Chan
8b19ac1abf SERVER-109994 Change code-owners from workload-scheduling to workload-resilience (#40724)
GitOrigin-RevId: d4df6a891108e34520aad8e6e9191fe9d3122ae9
2025-09-02 20:26:48 +00:00
Mathias Stearn
d0db858d58 SERVER-98435 make it more clear which files have been marked in the browser (#40794)
GitOrigin-RevId: d943df85653e8baab77bb3abbea2d1900d3f6725
2025-09-02 15:46:53 +00:00
Mathias Stearn
e4c51c7b40 SERVER-98435 Add MONGO_MOD_PARENT_PRIVATE so submodules can expose decls only to parents (#40779)
GitOrigin-RevId: ea8b26d8e1706f48e1356f8e3a286e75831ef430
2025-09-02 15:46:35 +00:00
Matthew Russotto
8d12269eec SERVER-109844 Basic support for disaggregated storage clusters (#40566)
Co-authored-by: Benety Goh <benety@mongodb.com>
Co-authored-by: Mathias Stearn <mathias@mongodb.com>
Co-authored-by: Kaitlin Mahar <kaitlin.mahar@mongodb.com>
Co-authored-by: Brandon Stoll <bstoll@users.noreply.github.com>
Co-authored-by: Vanessa Noia <54818020+nessnoia@users.noreply.github.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: Vishnu K <vishnu.kaushik@mongodb.com>
Co-authored-by: Sunil Narasimhamurthy <suniltheta@gmail.com>
Co-authored-by: Jiawei Yang <youngyang0820@gmail.com>
Co-authored-by: Will Korteland <korteland@users.noreply.github.com>
Co-authored-by: Saman Memaripour <amirsaman.memaripour@mongodb.com>
Co-authored-by: huayu-ouyang <huayu.ouyang@mongodb.com>
Co-authored-by: Suganthi Mani <38441312+smani87@users.noreply.github.com>
Co-authored-by: Thomas Goyne <thomas.goyne@mongodb.com>
Co-authored-by: Haley Connelly <haley.connelly@mongodb.com>
Co-authored-by: Billy Donahue <BillyDonahue@users.noreply.github.com>
Co-authored-by: Kirollos Morkos <kiro.morkos@mongodb.com>
Co-authored-by: Lingzhi Deng <lingzhi.deng@mongodb.com>
Co-authored-by: Hartek Sabharwal <hartek.sabharwal@mongodb.com>
Co-authored-by: Aaron Himelman <aaron.himelman@mongodb.com>
Co-authored-by: Moustafa Maher <m.maher@mongodb.com>
Co-authored-by: prathmesh-kallurkar <prathmesh.kallurkar@mongodb.com>
Co-authored-by: Dan Larkin-York <13419935+dhly-etc@users.noreply.github.com>
Co-authored-by: Shreyas Kalyan <35750327+shreyaskalyan@users.noreply.github.com>
Co-authored-by: Shreyas Kalyan <shreyas.kalyan@mongodb.com>
Co-authored-by: Jonathan Reams <jbreams@mongodb.com>
Co-authored-by: adriangzz <adriangonzalezmontemayor@gmail.com>
Co-authored-by: Eric Milkie <milkie@users.noreply.github.com>
Co-authored-by: Aaron B <aaron.balsara@mongodb.com>
Co-authored-by: Ali Mir <ali.mir@mongodb.com>
Co-authored-by: Alex Blekhman <alexander.blekhman@mongodb.com>
Co-authored-by: mpobrien <mpobrien005@gmail.com>
Co-authored-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
Co-authored-by: Ruby Chen <ruby.chen@mongodb.com>
Co-authored-by: Jagadish Nallapaneni <146780625+jagadishmdb@users.noreply.github.com>
Co-authored-by: Jonas Bergler <jonas.bergler@mongodb.com>
Co-authored-by: Peter Macko <peter.macko@mongodb.com>
Co-authored-by: Nic <nic.hollingum@mongodb.com>
Co-authored-by: Jiawei Yang <jiawei.yang@mongodb.com>
Co-authored-by: Jordi Serra Torrens <jordist@users.noreply.github.com>
Co-authored-by: Sunil Narasimhamurthy <sunil.narasimhamurthy@mongodb.com>
GitOrigin-RevId: a1c6609c820052137e2aa759711e86c337ae6f9f
2025-08-29 22:00:57 +00:00
Mathias Stearn
86dc5fd42e SERVER-109471 improvements to private_headers.py (#40725)
GitOrigin-RevId: 37dab8f8ca2e8dde60807e6cee7dc3cd46c061c3
2025-08-29 17:31:13 +00:00
Alex Li
0a68a135ba SERVER-109471 Change modules_poc/private_headers.sh to a python script (#40256)
GitOrigin-RevId: 05cb5bca4acce3e273f2c85b6810c4414ade965e
2025-08-26 15:58:23 +00:00
gitpushjoe
02fcb9c926 SERVER-109175 Modularize all of the files in src/mongo/db/repl under module replication.replication_coordinator (#40132)
GitOrigin-RevId: c794096a9fd5886eedf218989cdf20e559c1adbe
2025-08-26 15:15:51 +00:00
Pol Piñol Castuera
7db7cf3035 SERVER-109214 Review new CAR subfolder hierarchy under src/mongo/db for missed files (#40300)
GitOrigin-RevId: 8ca97c6ff52813026c2db7c6dc92c7660e6801e0
2025-08-26 08:55:25 +00:00
Mathias Stearn
bb188e2a40 SERVER-98435 Minor cleanups to modularity metadata (#40177)
GitOrigin-RevId: b8441051ff18df2b2d6c31743b0095164cf55969
2025-08-22 15:11:08 +00:00
Alex Li
1745750f4b SERVER-104912 Mark visibility for SP stdx/, platform/, and executor/ headers (#36815)
Co-authored-by: Mathias Stearn <redbeard0531@gmail.com>
GitOrigin-RevId: e2f6875b7c85997d67caf6b960ee06a9c6d0652b
2025-08-14 20:35:24 +00:00
Mathias Stearn
11e5a874ec SERVER-98435 fix external usage messages in mod_diff.py (#39961)
GitOrigin-RevId: cef06ef1b6d4705bbfbc28e2fc4cf2bc8e8a0ec9
2025-08-13 16:02:49 +00:00
Pol Piñol Castuera
b24ea20ac9 SERVER-109078 Restructuring Catalog and Routing components into subfolders (#39440)
GitOrigin-RevId: e195f665c5a8ef8503298576af52fad5215ef8dd
2025-08-13 08:57:19 +00:00
ppolato
7ed0c3b968 SERVER-108943 Create stub for InitializePlacementHistoryCoordinator (#39816)
GitOrigin-RevId: 916fe0973a249eedb40838ede2a1a6e11cad5716
2025-08-11 14:07:40 +00:00
Denis Grebennicov
eec6c30e20 SERVER-107905 Introduce ChangeStream ControlEvent structs (#39153)
GitOrigin-RevId: a3510ef09e49d4a6ae5457bd6bb649f3ab94c2c2
2025-08-11 12:30:51 +00:00
Zac
18cfe7e7f2 SERVER-107600 Move the first stage of lint_modules to bazel run lint (#38639)
GitOrigin-RevId: 87dd5ed68da2da5237891420c321886c1352004f
2025-08-07 00:21:03 +00:00
Sanjana Kashyap
731cce1254 SERVER-106626 Add Observable Mutex Registry and Testing (#38886)
GitOrigin-RevId: 9e0eaab9f3ce2d598853c18bdb3f1d6d33a8c240
2025-08-05 18:16:10 +00:00
gitpushjoe
0a0c2cbdd6 SERVER-107188 Modularize the repl files in directories (dbcheck, hello, intial_sync, split_horizon) (#39068)
GitOrigin-RevId: 22c915c57c5a6edda1a755cbf73896da8d4dba6b
2025-08-01 17:46:27 +00:00
lmestres
2fd8ceee74 SERVER-107017 Implement commitShardRemoval command (#39308)
Co-authored-by: lmestres <laura.mestrestoress@mongodb.com>
GitOrigin-RevId: e592074078246c92c16c556c624ffd537d87e130
2025-08-01 07:39:22 +00:00
Daniel Moody
e503b3ed20 SERVER-108022 make atlas only module dir (#39404)
GitOrigin-RevId: eba80d6f9fd0feed82442d577d2da061fbcb4f89
2025-08-01 01:59:30 +00:00
lmestres
1c452ab8e3 SERVER-107014 Extend the listShards command to return only draining shards (#39045)
Co-authored-by: lmestres <laura.mestrestoress@mongodb.com>
GitOrigin-RevId: 6a0d465e202f3a10759a5db5cfb8e7694c2199cb
2025-07-31 07:34:17 +00:00
ppolato
73add75496 SERVER-107191 Extract the existing logic to operate on config.placementHistory to a dedicated ShardingCatalogManager file (#39101)
GitOrigin-RevId: a7d17ba6356c5b0a74d514d13db4e9626a95dfb1
2025-07-28 11:51:00 +00:00
lmestres
b7f4445d3c SERVER-107018 Implement stopShardDraining command (#38651)
Co-authored-by: lmestres <laura.mestrestoress@mongodb.com>
GitOrigin-RevId: 96556e7f92f925727511b33c896b1d16a054cb6f
2025-07-28 07:45:21 +00:00
Pol Piñol Castuera
094f376368 Revert "SERVER-107176 Introduce placeholder configureBackgroundTask command" (#38891)
GitOrigin-RevId: 48be24f0c7ac14e4ed52d0fad180e5660599b9cb
2025-07-23 16:57:18 +00:00
Pol Piñol Castuera
140511ce5f Revert "SERVER-107246 Introduce placeholder _shardsvrAbortMigrations command"
GitOrigin-RevId: 88a781e4e0332d4b2e5f44abb2575ebee582722b
2025-07-21 13:02:22 +00:00
Zack Winter
7ccc14bf91 SERVER-101034 Use rules_lint shfmt formatter (#38448)
GitOrigin-RevId: e8ef1ba2000e12fa2cd5a115a9ceeab92332e938
2025-07-16 01:55:34 +00:00
wolfee
8c4e293073 SERVER-107187 Implement a periodic runner to emit a warning message if running with ReplicaSetConfigShardMaintenanceMode (#38472)
GitOrigin-RevId: 1f163be375c4b3a6365c4a5893399252f38cec35
2025-07-15 21:52:55 +00:00
lmestres
9b890e64a9 SERVER-107016 Implement shardDrainingStatus command (#38348)
Co-authored-by: lmestres <laura.mestrestoress@mongodb.com>
GitOrigin-RevId: 77950e2fc4977c19c7923c55a1933e732421769d
2025-07-15 13:15:18 +00:00
Pol Piñol Castuera
e77deabd36 SERVER-107176 Introduce placeholder configureBackgroundTask command (#38181)
GitOrigin-RevId: cbba465fa485a9e44b873ed5236a519b666696eb
2025-07-15 09:02:02 +00:00
Benety Goh
c671b208f3 SERVER-107431 add startup parameter to enable disaggregated storage (#38431)
Co-authored-by: Mathias Stearn <mathias@mongodb.com>
GitOrigin-RevId: 550a2c078ce3bfdd5f9392e733ab3b0f77c3706a
2025-07-14 22:00:13 +00:00
Pol Piñol Castuera
82be2b757a SERVER-107246 Introduce placeholder _shardsvrAbortMigrations command (#38228)
GitOrigin-RevId: 208fc5a4085ada6e2c9603b578360acefb95048c
2025-07-11 07:49:38 +00:00
lmestres
8b65777fd3 SERVER-106558 Implement startShardDraining command (#38046)
Co-authored-by: lmestres <laura.mestrestoress@mongodb.com>
GitOrigin-RevId: 3ea257156d06dffecb75148383fe0c9b8888b9a5
2025-07-07 15:06:57 +00:00
Allison Easton
19cdb86468 SERVER-105874 Improve testing of larger sharded collections from a correctness point of view (#37913)
GitOrigin-RevId: d049c755b4219676989a26c483ab4945feab8b5b
2025-07-02 14:23:20 +00:00
Igor Praznik
744fd69957 SERVER-103704 Replace shardVersionRetry with the RouterRole machinery (#37173)
GitOrigin-RevId: e1b12539513583510fde266c70249ef86acc3e01
2025-07-02 09:55:20 +00:00
manuelam2003
d74fdb502c SERVER-105896 Move collmod replset command to its own file (#37619)
GitOrigin-RevId: 93b390e82040007a7196efbb58f739b22fad90f7
2025-07-01 16:35:45 +00:00
Mathias Stearn
3a233c8ab5 SERVER-98435 Fix mod_diff.py and teach it to take files as args (#37816)
GitOrigin-RevId: ad407ccaf8dfd1cbe8d9660a346c0ce4d33b4353
2025-06-26 16:31:23 +00:00
Saman Memaripour
be000657c1 SERVER-106409 New benchmark to track instruction counts for findOne (#37512)
GitOrigin-RevId: 3536d530415dea1543ef4d637da7ff11559d1343
2025-06-25 16:58:50 +00:00
Mathias Stearn
0b3efc2dce SERVER-98435 improvements to modularity browser (#37541)
GitOrigin-RevId: 6c485932d98321d3ff1b39e8554f990ba0bbdf4e
2025-06-24 13:14:07 +00:00
Mathias Stearn
d02ca002c1 SERVER-98435 _forTest methods are implicitly FILE_PRIVATE, and internal namespaces are allowed to be (#37615)
GitOrigin-RevId: 27e3412caf3d64246523fa58bef3e0dfd6058185
2025-06-23 16:12:21 +00:00
Daniel Gómez Ferro
a425205350 SERVER-106194 Set ReadConcern in opCtx for DBDirectClient (#37534)
GitOrigin-RevId: 3024eff18f851d4d4fc58b4b87c450229d336279
2025-06-23 09:51:40 +00:00
Evan Bergeron
55b479cdd8 SERVER-105009 Add OpenTelemetry metrics code to the server codebase (#36429)
Co-authored-by: Parker Felix <parker.felix@mongodb.com>
Co-authored-by: Charlie Swanson <charlie.swanson@mongodb.com>
GitOrigin-RevId: ad7e9ed9272f9e42bfaedf2fedce8a1b0a37dcad
2025-06-20 20:07:35 +00:00
Mathias Stearn
1046ac72ce SERVER-98435 introduce MONGO_MOD_OPEN and disallow cross-module inheriting from MONGO_MOD_PUB (#37341)
GitOrigin-RevId: a72858f0ea5b767943b8cbaa6b158b610052610c
2025-06-18 15:15:54 +00:00
Mathias Stearn
d99a9e768c SERVER-98435 script to print reviewable summaries when marking headers for module APIs (#37359)
GitOrigin-RevId: 7d4fe36d2861698088ee9bd30f078c417aa694e0
2025-06-16 22:06:55 +00:00
Shreyas Kalyan
d40f2e58c3 SERVER-106060 Update security modules (#37057)
Co-authored-by: Shreyas Kalyan <shreyas.kalyan@mongodb.com>
GitOrigin-RevId: ff8b4aef0689a777f8caf395a99e6f687c8c8b3a
2025-06-16 15:32:08 +00:00
Ronald Steinke
5bc1cc8bdd SERVER-106241 USE_REPLACEMENT() alt API must be nonempty (#37249)
GitOrigin-RevId: 40777e60898b9f1670a1e32e2ddebcc62afb59f6
2025-06-13 14:48:11 +00:00