Commit Graph

97 Commits

Author SHA1 Message Date
Gregory Noma
5339a049c1 SERVER-92770 Remove emptycapped (#25439)
GitOrigin-RevId: 4498272aa5000aff8fc8effec2b3c8e96ba98ea6
2024-07-31 15:44:28 +00:00
Alexander Ignatyev
c92e1dde3b SERVER-91700 Use unoptimized match expressions for upsert (#23721)
GitOrigin-RevId: e8699892082fdbd6cd43332ea51058ce7db4981f
2024-06-21 17:26:19 +00:00
auto-revert-app[bot]
43825f162d SERVER-91560 Fix emptyTs tests (#23536)
GitOrigin-RevId: 30071ddd99fa50770963c409f98801b76fd74782
2024-06-15 03:37:35 +00:00
Drew Paroski
8a6b1469a4 SERVER-88750 Add "bypassEmptyTsReplacement" param to insert/update/findAndModify/bulkWrite (#22841)
GitOrigin-RevId: 3b9979a5a726131e1db477b8f32409cbecd2ba1a
2024-06-14 18:30:57 +00:00
Catalin Sumanaru
de97aac8f6 SERVER-91379 Re-introduce eslint rule for missing semicolons (#23301)
GitOrigin-RevId: fd9cce5f9f201004e44ffdeabdb33cd93e79b451
2024-06-11 14:18:29 +00:00
seanzimm
afbf36d56a SERVER-90050: Make bulkWrite not send all nsInfo in child batches (#22320)
GitOrigin-RevId: 055bcec05d0ae5b58681be45ec55df4fee6b79df
2024-05-23 17:54:42 +00:00
Jordi Olivares Provencio
b709b8032e SERVER-90685 Exclude remove8.js from suites that do not expect getMore requests (#22369)
GitOrigin-RevId: 060188fb06851daafcae658092b20efef13f566c
2024-05-21 17:27:12 +00:00
HanaPearlman
274ea67052 SERVER-83760: Support for delete-by-_id in Express path (#21615)
SERVER-83760: Implement delete-by-_id in Express path.

Co-authored-by: Justin Seyster <justin.seyster@mongodb.com>
GitOrigin-RevId: e06859afd2e1050038ed7a39a196baff18da1f42
2024-05-10 01:08:38 +00:00
Colin Stolley
d372d5bab4 SERVER-83759: Implement update-by-_id in Express path. (#21394)
SERVER-83759: Implement update-by-_id in Express path.

Co-authored-by: Justin Seyster <justin.seyster@mongodb.com>
GitOrigin-RevId: c1533aeeb6f9ccc867523791685604b1496a4b18
2024-05-08 05:32:35 +00:00
Cheahuychou Mao
bfba54a564 SERVER-90182 remove8.js should not count all docs in the test collection by running count command without a filter since it would include orphan docs (#21854)
GitOrigin-RevId: 9a5c8219e71589b4c69efa21ed537e018a9ced09
2024-05-06 16:06:23 +00:00
Jason Zhang
aafd53701a SERVER-89909 Rewrite update7.js to support updateOne without shard key (#21632)
GitOrigin-RevId: 6b6f8c71c9ea5e92d04f8771ebcfcf1f36d3680d
2024-04-30 01:39:51 +00:00
Matthew Russotto
4263c2b947 SERVER-87563 Replace uses of magic number error code with symbolic IDLUnknownField error
GitOrigin-RevId: 77ab409bcaeaab2c3857dd5950fea22ec43c1a82
2024-04-23 23:32:40 +00:00
Tommaso Tocci
0316ed858d SERVER-89395 Balancer always fail to move untracked unsplittable collections (#21122)
GitOrigin-RevId: ded7be20dd935febf4172f4e38868c4967b5bd6a
2024-04-18 16:24:13 +00:00
Lynne Wang
7ccf469271 SERVER-87786 Support a sort option for sharded updateOne without shard key (#19980)
GitOrigin-RevId: 324de95e6bbb9d8bac3edeb319249004a617a717
2024-04-17 17:06:32 +00:00
Pierlauro Sciarelli
e92e06061b SERVER-89471 Exclude find_and_modify_metrics.js from suites with balancer enabled (#21181)
GitOrigin-RevId: aded13b01e39aede035b85ac5bcb71cc627d64bc
2024-04-16 18:03:14 +00:00
seanzimm
1ebe43358a SERVER-88895: Make cursor not store txnNumber during retryable writes (#20721)
GitOrigin-RevId: 8b8c1d91facd409a609ec2aa5e1ac469fd017052
2024-04-12 00:45:24 +00:00
Jason Zhang
28eb8d299b SERVER-80780 Merge writes without shard key jscore passthrough with existing passthrough suites (#20175)
GitOrigin-RevId: a54cc3a3df44359ea51533f062642ee841f71460
2024-04-08 02:28:42 +00:00
Cheahuychou Mao
4116ad14a5 SERVER-88493 Make crud_ops_do_not_throw_locktimeout.js robust when running in replica set endpoint suites
GitOrigin-RevId: ce89758f2b23434af47e7ed65447d5c4dc765cfc
2024-03-26 03:10:15 +00:00
Jiawei Yang
6bb8723fc8 SERVER-87835 exclude bulk_write_non_transaction.js in kill primary passthroughs (#19877)
GitOrigin-RevId: 2ab3df334cc44e80617cea896efbe2f37274fbc7
2024-03-12 23:22:34 +00:00
Benety Goh
7ab411372d SERVER-87043 Re-enable batched_multi_deletes.js in multiversion suites (#19546)
GitOrigin-RevId: 3cbbd0be9b6976d26dc493e142d0eb4899ae25a4
2024-03-08 05:25:30 +00:00
Benety Goh
92bedc58a6 SERVER-87043 extract batched_multi_deletes test cases to separate test files
GitOrigin-RevId: 4a2b66f7f4b3f5836bc2675402a44418d5cbb182
2024-03-08 00:38:25 +00:00
HanaPearlman
2c808c0fd7 SERVER-81378: Make comparison to null via MatchExpression $eq and $in not match undefined (#19523)
[SERVER-81378](https://jira.mongodb.org/browse/SERVER-81378): Make
comparison to null via MatchExpression $eq and $in not match undefined.

Previously, queries like {a: {$eq: null}} matched documents including,
among others, {a: null} and {a: undefined}. This change makes it so that
comparison to null via MatchExpression $eq and $in does not match
documents like the latter. By extension, classic $lookup behavior is
also changed so that null local fields do not match undefined foreign
fields (this was already the case for $lookup executed in SBE). This
commit does not affect the behavior of agg expressions, which have their
own, different semantics for undefined values.

As a result of this change, index scan plans for comparison to null
queries can look different. For example, query {a: {$eq: null}} using
index {a: 1} will only have index bounds for the null interval, rather
than both the null and undefined intervals.

GitOrigin-RevId: 496fd240a87e96bb9a46db9be2610335a002d283
2024-03-05 23:02:49 +00:00
Tommaso Tocci
0c35cc9d76 SERVER-86292 Introduce sharding_jscore_passthrough_with_balancer suite (#19075)
GitOrigin-RevId: 7a68dd379f45fb49afa7d01ddd8ef02e36d510ab
2024-02-29 16:45:04 +00:00
Lynne Wang
e443421240 SERVER-78140 Allow updateOne to supply a sort option
GitOrigin-RevId: 879b5da1f1ae74f1c27a0bd5d55bb6545db3833a
2024-02-28 02:23:03 +00:00
Hana Pearlman
95bfad66ea Revert "SERVER-81378: Make comparison to null via MatchExpression $eq and $in not match undefined. (#19254)"
This reverts commit 5998264155e7a83acf1d90aa277a5b9d912cb1f7.

GitOrigin-RevId: e1455a29a2b05056b92f16b0fa548f7d7d62ca78
2024-02-26 22:54:08 +00:00
HanaPearlman
1704949c0e SERVER-81378: Make comparison to null via MatchExpression $eq and $in not match undefined. (#19254)
[SERVER-81378](https://jira.mongodb.org/browse/SERVER-81378): Make
comparison to null via MatchExpression $eq and $in not match undefined.

Previously, queries like {a: {$eq: null}} matched documents including,
among others, {a: null} and {a: undefined}. This change makes it so that
comparison to null via MatchExpression $eq and $in does not match
documents like the latter. By extension, classic $lookup behavior is
also changed so that null local fields do not match undefined foreign
fields (this was already the case for $lookup executed in SBE). This
commit does not affect the behavior of agg expressions, which have their
own, different semantics for undefined values.

As a result of this change, index scan plans for comparison to null
queries can look different. For example, query {a: {$eq: null}} using
index {a: 1} will only have index bounds for the null interval, rather
than both the null and undefined intervals.

GitOrigin-RevId: 5998264155e7a83acf1d90aa277a5b9d912cb1f7
2024-02-23 23:25:36 +00:00
Uladzimir Makouski
228730775a Revert "SERVER-81378: Make equality to null not match undefined (#18042)"
This reverts commit c9d1c87a3c85d260b2b892e274ba374d39bc8f47.

GitOrigin-RevId: ca2eea296a6b33bcd834c09f30df71ab82fb9c9a
2024-02-23 11:41:30 +00:00
HanaPearlman
b01f10e4e6 SERVER-81378: Make equality to null not match undefined (#18042)
[SERVER-81378](https://jira.mongodb.org/browse/SERVER-81378): Make
comparison to null via MatchExpression $eq and $in not match undefined.

Previously, queries like {a: {$eq: null}} matched documents including,
among others, {a: null} and {a: undefined}. This change makes it so that
comparison to null via MatchExpression $eq and $in does not match
documents like the latter. By extension, $lookup behavior is also
changed so that null local fields do not match undefined foreign fields.
This commit does not affect the behavior of agg expressions, which have
their own, different semantics for undefined values.

As a result of this change, index scan plans for comparison to null
queries can look different. For example, query {a: {$eq: null}} using
index {a: 1} will only have index bounds for the null interval, rather
than both the null and undefined intervals.

GitOrigin-RevId: c9d1c87a3c85d260b2b892e274ba374d39bc8f47
2024-02-22 14:35:38 +00:00
seanzimm
65b881d228 SERVER-52419 Enable feature flag for bulkWrite (#18965)
GitOrigin-RevId: fbb748674d551c1d1745955f081445c1f28bfd51
2024-02-20 19:05:27 +00:00
Gregory Wlodarek
83dc9b09b9 SERVER-86446 Only run collection_truncate.js in standalone mode (#18853)
GitOrigin-RevId: fbbb50113db9a7b50af1e90c1527419bba9bc762
2024-02-09 15:55:22 +00:00
Adi Zaimi
c659a6c610 SERVER-85842: Create collection in batch_write_command_w0.js explicitly (#18541)
GitOrigin-RevId: 768a221253b16751167ad8e23e23867a5696db8c
2024-02-02 02:24:03 +00:00
auto-revert-processor
68ff154aa9 Revert "SERVER-85842: Create collection in batch_write_command_w0.js explicitly (#18464)"
This reverts commit 6caa450ffaa15464840547937ef0718dac2e3618.

GitOrigin-RevId: 289c23f780787bd3ad0b3610adcc9fbcb347aea0
2024-01-30 14:02:08 +00:00
Adi Zaimi
e361fa9b80 SERVER-85842: Create collection in batch_write_command_w0.js explicitly (#18464)
GitOrigin-RevId: 6caa450ffaa15464840547937ef0718dac2e3618
2024-01-30 02:09:54 +00:00
seanzimm
5e31ac6729 SERVER-85774: Disable incompatible bulkWrite test in tenant migration suites (#18414)
GitOrigin-RevId: fc47a36c3a309eb529c12b261743d346d7ea4402
2024-01-26 22:46:15 +00:00
Cheahuychou Mao
e54f2f5248 SERVER-84332 Add jscore passthrough testing for connecting to a single-shard cluster using replica set endpoint (#18076)
GitOrigin-RevId: e0af5e97693ad4b900cf6f5d2bbfbdbbbec530ce
2024-01-19 02:50:40 +00:00
Sophia Tan
1c09728cb2 SERVER-82297 Run concurrency tests with jscore tests on multiple tenants
GitOrigin-RevId: e1737b83eb89cc7e61bfe9bfc7007eae4d96a7af
2023-12-18 07:14:19 +00:00
Joseph Prince
d04dc10cac SERVER-82311 rename test tag
GitOrigin-RevId: 598fb15a21c0c4e53ef47a4b5c5dc6f5ae5fd5ed
2023-12-14 06:03:22 +00:00
seanzimm
45e9ad08f5 SERVER-80831 Support Explain for bulkWrite on mongos
GitOrigin-RevId: 7f42ebfdcfc82bbb87e9757dc214f5559739704a
2023-12-12 21:47:21 +00:00
Lynne Wang
40c2d9967b SERVER-83859 Move upsert_fields.js tests on duplicate fields in $or out of multiversion suite to new test requiring fcv_73
GitOrigin-RevId: b9b83022e5c62090983dc6645997ca34dbbf3c57
2023-12-04 23:25:28 +00:00
seanzimm
dc1ca1d97f SERVER-82660: Support errorsOnly for bulkWrite on Mongos (#17198)
GitOrigin-RevId: 46c988f9f59e83b8e25e463dab3dcac25f1d6a2c
2023-12-04 16:16:41 +00:00
seanzimm
0760f954e1 SERVER-83138: Fix nMatched in bulkWrite 2023-11-29 21:07:37 +00:00
Lynne Wang
3cbf67aa94 SERVER-82979 Resolve inconsistency in ABT and SBE assumptions for duplicate predicates in $or 2023-11-28 21:32:57 +00:00
Silvia Surroca
9fbfb58f9e SERVER-79783 Create passthrough suite that implicitly creates unsplittable collections on a random shard 2023-11-19 16:34:14 +00:00
seanzimm
d160de127a SERVER-80293: Add summary fields to bulkWrite 2023-11-09 17:10:31 +00:00
seanzimm
36ae3cfc5d SERVER-82323: Implement Errors Only Field for BulkWrite 2023-11-02 14:16:02 +00:00
Kaitlin Mahar
2ef842060c SERVER-82508 improve assertion output in bulkWrite jscore tests 2023-11-02 00:08:19 +00:00
Frederic Vitzikam
bfddccf8b2 SERVER-79610 Make sure we preserve relevant metrics for writes done via bulkWrite (mongod) 2023-10-20 16:56:51 +00:00
Alexander Ignatyev
56b10f30b4 SERVER-81630 Enable the Boolean expression simplifier
Enable the simplifier for 'find' and 'aggregate' commands of the classic optimizer, migrate the simplifier to std::bitset due to performance reasons, improve the simplifier safe heuristics introduced in SERVER-81139.
2023-10-18 15:49:12 +00:00
Kaitlin Mahar
709e3f4efc SERVER-81952 Remove temporarily added shard keys from queries in bulkWrite core tests 2023-10-10 16:18:53 +00:00
Huayu Ouyang
c919642f9c SERVER-81563 Remove profiling tests from fcv upgrade downgrade passthrough suites 2023-10-09 16:11:08 +00:00