Commit Graph

123 Commits

Author SHA1 Message Date
Andrew Bradshaw bb84a8c1a7 SERVER-106601 Open yaml files with utf8 for windows (#37659)
GitOrigin-RevId: e37e02b7ced06618cc951630fbcd07455d7c00f0
2025-06-25 14:12:35 +00:00
Ronald Steinke ac8423f8d7 SERVER-105094 Remove unused chained_types IDL feature (#36181)
GitOrigin-RevId: 43464a738b6e60d0abda2c6909bb4d6650bd762b
2025-05-19 14:59:54 +00:00
Juan Gu 7209d62b77 SERVER-99522 Delete dead py linters (#31760)
GitOrigin-RevId: 3aedfa559dda734d4d89fefe0fe1154a5a3cf04d
2025-04-09 19:33:45 +00:00
Adityavardhan Agrawal 5cceb720ed SERVER-90495 Support start or resume from deleted recordId on natural order scan
GitOrigin-RevId: dbaca26017c34ba101f5b469244add55964fd0b9
2024-12-27 23:34:55 +00:00
Zack Winter 4021d90835 Revert "SERVER-90495 Add $_startAt option to allow resuming natural order scan from deleted RecordId (#29764)" (#30626)
GitOrigin-RevId: 9dce29b686db5892d74262584c998cde78aa82a9
2024-12-23 19:46:07 +00:00
Adityavardhan Agrawal 2bc6a531e4 SERVER-90495 Add $_startAt option to allow resuming natural order scan from deleted RecordId (#29764)
GitOrigin-RevId: 35ecd345c87b64a3fc723f84c5b24b0bbe2faf8e
2024-12-20 17:46:17 +00:00
Juan Gu 855dfadef0 SERVER-94077 Use isort in Ruff configs (#27865)
GitOrigin-RevId: e793d662774ccd3ab6c3f356c2287cf1f7ff9805
2024-10-10 19:33:49 +00:00
Jan 50bb541800 SERVER-94642 Make code ownership for IDL validator more fine-grained (#27263)
GitOrigin-RevId: 1d92db6b906fcdac75aff2d6e1235514e9bff09c
2024-09-25 23:59:37 +00:00
HanaPearlman de3dcf9e26 SERVER-93183: Remove queryPlannerDebug verbosity (#27171)
GitOrigin-RevId: cab6a1d5fceb0bd56da718f611dcfc674df143d4
2024-09-23 14:36:13 +00:00
Jan 63b37a01c1 SERVER-71453 Change count command from BasicCommand to IDL typed command (#26579)
GitOrigin-RevId: acee6edd54d71d692d32e4b4b460c93e4218b4b3
2024-09-20 15:14:01 +00:00
Jan 2253c76302 SERVER-77400 Add renameCollection command to the Stable API (#26111)
GitOrigin-RevId: 86efb89a9c1f8a2fef6defd28f62d6e96f9a42b8
2024-09-19 08:12:04 +00:00
Vlad Dragutoiu f3bd74e42c SERVER-90965 Extend query settings to contain optional comment field (#24738)
GitOrigin-RevId: 905b0ed338ecff4cab71a6488ee37228a82e6a97
2024-09-02 10:03:03 +00:00
Rui Liu 0f41fee69d SERVER-92446 Add access check for update command (#24797)
GitOrigin-RevId: 03222ee4d38696f293302d0d322b7dac2ccb1e1d
2024-07-18 13:22:38 +00:00
Kishore Devireddy 56c8f0f213 SERVER-84784: Remove allowSpeculativeMajorityRead (#22853)
GitOrigin-RevId: 54423482f74c3c93d00a9d4bfbca199d4db9927a
2024-06-04 18:53:00 +00:00
Patrick Freed 5b7ef83670 SERVER-85791 Automatically chain generic argument structs to all IDL-generated commands (#21983)
GitOrigin-RevId: 5b4bf18413fe0f8d3c1dafc09c1f8584fecbbf05
2024-06-03 23:30:47 +00:00
Steve McClure bd2955c297 SERVER-90571: Enable python formatting checks for buildscripts/idl directory (#22293)
GitOrigin-RevId: a2fbc8ed83f576703cce96ebb5e680cc70aac4d8
2024-05-17 19:26:45 +00:00
Blake Oler 674d2a493a SERVER-88423 Use existing BSONObjBuilder when serializing OpTime (#21664)
GitOrigin-RevId: 6b0f596fcf8aa186862b0397956e9c838f166ca8
2024-05-13 14:12:43 +00:00
Patrick Freed 33f38c6013 SERVER-89351 Merge generic argument and reply fields structs (#21600)
GitOrigin-RevId: abf186403bd84c0057170dd724f9d7320b3c92be
2024-04-30 23:26:25 +00:00
Patrick Freed dbe6bde934 SERVER-88214 Add types to generic_argument.idl (#21574)
GitOrigin-RevId: da77159d14e989ccc8474969df68994bfc317dd9
2024-04-26 20:03:47 +00:00
auto-revert-processor 687bd47ea1 Revert "SERVER-88214 Add types to generic_argument.idl (#21502)"
This reverts commit d4f118c6877d1658932e68e08da859c3837114b4.

GitOrigin-RevId: 39ad9666ef64cc6c79a5a861f59b69e488110d79
2024-04-26 13:43:35 +00:00
Patrick Freed 6c9d8cd52b SERVER-88214 Add types to generic_argument.idl (#21502)
GitOrigin-RevId: d4f118c6877d1658932e68e08da859c3837114b4
2024-04-26 02:49:13 +00:00
auto-revert-processor 22320b2ff7 Revert "SERVER-88214 Add types to generic_argument.idl (#20310)"
This reverts commit efe59d37c27c68b1f93a422649889b74e7c7dc3e.

GitOrigin-RevId: 709777ba44dae6e230ed3571c6d071145dd45f6c
2024-04-25 01:53:07 +00:00
Patrick Freed 3a4189c6df SERVER-88214 Add types to generic_argument.idl (#20310)
GitOrigin-RevId: efe59d37c27c68b1f93a422649889b74e7c7dc3e
2024-04-24 22:27:25 +00:00
Denis Grebennicov 653c63c52d SERVER-81556 Refactor QuerySettings.indexHints idl definition to always be std::vector<IndexHintSpec> (#20985)
GitOrigin-RevId: 638911b54c0cbab7acc20dfdd9482ef091cadc08
2024-04-12 08:57:05 +00:00
Henri Nikku 128fe4dda4 SERVER-87193 Validate queryStatsReadTransformed normally in API compatibility checker (#20560)
GitOrigin-RevId: d27123c8bedffb178b491e7614758f34b2283cc7
2024-04-08 15:12:35 +00:00
Henri Nikku a5b0ac198a SERVER-86371 Don't allow unstable required fields in stable API (#20203)
GitOrigin-RevId: 82b3c3606bdbd7ee3a623f82167bf7a076985d40
2024-03-21 19:50:22 +00:00
Henri Nikku e89978a2d8 SERVER-86889 Add mechanism to make API compatibility checker ignore privileges in access checks (#19349)
GitOrigin-RevId: f3ae6c01bc9450fa01f60700c10dc00dcbd70966
2024-02-28 17:43:56 +00:00
seanzimm 5d90fc8482 SERVER-71899: Mark bulkWrite command fields as stable (#18843)
GitOrigin-RevId: 91a642924a3ee2c8a96175d626e014897339141d
2024-02-16 15:01:28 +00:00
Denis Grebennicov ace6336b5b SERVER-77080 Introduce query settings into explain output for aggregation
This patch makes sure that corresponding query settings appear in the
explain of the aggregate commands, if those commands have query settings
set. This includes adding 'querySettings' to the aggregate command idl
as well as propagating the query settings from mongos to the shards in
sharded cluster deployment.

GitOrigin-RevId: 9ad100fc9ecb2053db6e07950bd988a0deef1180
2023-12-13 21:02:31 +00:00
Denis Grebennicov 99d4911e13 SERVER-77469 Propagate QuerySettings from mongos to the shards
Before this change, query settings were only looked up on mongod, which means that query settings will not be applied to find queries that were modified on mongos. In order to fix this issue, query settings will be looked up on mongos in sharded cluster and on mongod in replica set deployments. Upon the lookup, query settings will be propagated to the shards as command's new 'querySettings' attribute (marked as unstable).

In addition, as a part of this change, the encoding of a CanonicalQuery into a QueryShapeString will omit the 'hint' field if it is made redundant by the matching query setting.
2023-11-15 10:45:37 +00:00
auto-revert-processor 71e55df5b3 Revert "SERVER-77469 Propagate QuerySettings from mongos to the shards"
This reverts commit 98d757f948.
2023-11-13 22:09:04 +00:00
Denis Grebennicov 98d757f948 SERVER-77469 Propagate QuerySettings from mongos to the shards
Before this change, query settings were only looked up on mongod, which means that query settings will not be applied to find queries that were modified on mongos. In order to fix this issue, query settings will be looked up on mongos in sharded cluster and on mongod in replica set deployments. Upon the lookup, query settings will be propagated to the shards as command's new 'querySettings' attribute (marked as unstable).

In addition, as a part of this change, the encoding of a CanonicalQuery into a QueryShapeString will omit the 'hint' field if it is made redundant by the matching query setting.
2023-11-13 14:13:26 +00:00
auto-revert-processor d55c78bd72 Revert "SERVER-77469 Propagate QuerySettings from mongos to the shards"
This reverts commit 39dd12e256.
2023-11-11 02:26:11 +00:00
Denis Grebennicov 39dd12e256 SERVER-77469 Propagate QuerySettings from mongos to the shards
Before this change, query settings were only looked up on mongod, which means that query settings will not be applied to find queries that were modified on mongos. In order to fix this issue, query settings will be looked up on mongos in sharded cluster and on mongod in replica set deployments. Upon the lookup, query settings will be propagated to the shards as command's new 'querySettings' attribute (marked as unstable).

In addition, as a part of this change, the encoding of a CanonicalQuery into a QueryShapeString will omit the 'hint' field if it is made redundant by the matching query setting.
2023-11-10 21:10:15 +00:00
James Harrison d169f5ea1f SERVER-78877 Make find/count maxTimeMS consistent with aggregate equivalent 2023-10-19 13:12:48 +00:00
William Qian 992d7f35d1 SERVER-79106 Purge from IDL ignore lists entries from before lastLTS 2023-08-28 20:35:35 +00:00
Peter Volk f3bc784dc8 SERVER-80245 Update comments in IDL compatibility checker to reference Query team instead of Replication team 2023-08-23 15:41:22 +00:00
Samy Lanka 946cd9f135 SERVER-79361 Make the IDL compatibility checker script stop parsing feature flags in IDL files 2023-08-21 19:34:22 +00:00
Yuhong Zhang 8de45f7d9f SERVER-77382 Skip checking the IDL validator fields for time-series timeField and metaField 2023-07-21 19:00:39 +00:00
Romans Kasperovics ca7dcf91d9 SERVER-74036 Remove recordPreImages collection option
Remove "recordPreImages" collection option related
code once 7.0 branches out and becomes last-lts.
2023-07-20 10:53:42 +00:00
Arun Banala adc2eea411 SERVER-65369 Remove $_generateV2ResumeTokens parameter from aggregate command after 7.0 2023-05-03 00:18:32 +00:00
Naama Bareket 6c2987acbf SERVER-74166: Mark 'temp' field in create command as stable to support $out flow 2023-04-10 15:24:43 +00:00
kauboy26 93dc9da23e SERVER-72788 Construct sub-batching bulkWrite command to send to shards. 2023-03-17 15:49:39 +00:00
Frederic Vitzikam 8bea119833 SERVER-72092 Add update/delete op type to bulkWrite command 2023-02-22 19:33:54 +00:00
Projjal Chanda 7050aed3ed SERVER-69559: Change stability of upsertSupplied field to internal 2023-02-18 02:17:04 +00:00
seanzimm 233b11e209 SERVER-73138 Support IDL Variants of Multiple Structs 2023-02-03 10:25:46 +00:00
Cheahuychou Mao bb36f80204 SERVER-68757 SERVER-68758 SERVER-69800 (1/2) Add an aggregate stage for calculating read and write distribution metrics from sampled queries 2023-01-26 20:20:04 +00:00
Cheahuychou Mao a859249940 SERVER-73177 Make API compatibility check ignore access checks introduced by new aggregation stages 2023-01-23 18:56:22 +00:00
Vesselina Ratcheva 88aedb81e1 SERVER-71314 Create bulkWrite IDL and command stub 2022-12-06 06:24:01 +00:00
Faustoleyva54 91c6120015 SERVER-71601 Set an upper limit for bucketRoundingSeconds and bucketMaxSpanSeconds in create and collMod commands 2022-12-02 20:57:40 +00:00