Commit Graph

27 Commits

Author SHA1 Message Date
Charlie Swanson
17165df907 SERVER-65701 Avoid running expr.js in multiversion suites 2022-04-15 22:43:07 +00:00
Charlie Swanson
0d406e15c3 SERVER-64764 Fix '$$ROOT' handling in $expr rewrite 2022-03-22 21:56:12 +00:00
Jon Streets
05a0f8e98b SERVER-56366 Update FCV constants to recognize 5.1 as latest 2021-07-23 15:49:23 +00:00
Yoonsoo Kim
71e0a24691 SERVER-57388 Remove readMode/writeMode/rpcProtocols/useLegacyWriteOps shell command-line parameters 2021-07-01 22:20:30 +00:00
David Percy
8641dd510c SERVER-54233 Implement $derivative window-function executor 2021-03-04 22:11:37 +00:00
Nikita Lapkov
ae1be164b0 SERVER-54495 Use SBE error codes override in jstests/core/expr.js 2021-02-25 11:59:51 +00:00
Rishab Joshi
4329ffafa3 SERVER-50442 Remove ensureIndex shell function
This commit replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell""
2020-11-17 14:23:10 +00:00
Arun Banala
7c196029e8 Revert "SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell"
This reverts commit e69c967ff8.
2020-11-12 18:15:38 +00:00
Rishab Joshi
e69c967ff8 SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell 2020-11-12 10:38:50 +00:00
Ali Mir
fa5aff1411 SERVER-50651 Replace occurrences of isMaster command with hello in misc jstests 2020-10-01 19:17:34 +00:00
Justin Seyster
d80312792b SERVER-49227 Tag tests to be excluded from jsCore_slot_based_execution 2020-08-14 02:34:21 +00:00
Lingzhi Deng
14ef67e5d0 SERVER-50099: Update requires_fcv_46 and need_fixing_for_46 to 47 2020-08-05 16:27:25 +00:00
Lingzhi Deng
475078ffd9 SERVER-49783: Update latest FCV to 4.7 2020-08-02 05:39:29 +00:00
David Storch
d295b6646f SERVER-43821 Make PlanStage and PlanExecutor return errors by throwing
This eliminates the need for the FAILURE status codes in
PlanStage and PlanExecutor, and brings query execution's
error reporting more in line with that of the rest of the
server. It also makes it easier for future implementations
of PlanExecutor to comply with the interface.
2020-05-29 18:44:40 +00:00
James Wahlin
39c3a5d77b SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked() 2019-08-14 13:52:59 +00:00
clang-format-7.0.1
134a408395 SERVER-41772 Apply clang-format 7.0.1 to the codebase 2019-07-27 11:02:23 -04:00
Allison Easton
45138bb6ba SERVER-41303 Split jscore tests that run mapReduce but do not specifically test mapReduce into two 2019-06-10 16:01:34 -04:00
Lingzhi Deng
8a89b076d2 SERVER-40938: disallow afterClusterTime and ignore prepare conflicts for dbhash and map-reduce 2019-05-23 16:46:30 -04:00
Kyle Suarez
7bc7864fc0 SERVER-35043, SERVER-22949: move geoNear implementation into aggregation
This commit removes the geoNear command and moves its implementation
into the aggregation framework. Users should use the aggregate command
with a $geoNear stage.

The implementation rewrite additionally removes the limit in the
$geoNear aggregation stage. To limit the number of results, use a $limit
stage.
2018-06-18 23:34:49 -04:00
Kyle Suarez
190fc58164 SERVER-28524 remove group command
Users should use the aggregation $group stage instead.
2018-05-30 09:45:28 -04:00
Kevin Albertson
5e28f4a352 SERVER-31335 cmd assertions check write errors 2018-01-11 10:47:49 -05:00
Jack Mulrow
00d92ece19 SERVER-31194 Add jscore tags for retryable_writes_jscore_stepdown_passthrough.yml suite
The actual suite will come in a follow-up commit.
2017-12-07 14:36:15 -05:00
James Wahlin
9becaec059 SERVER-31664 Fix use after free of OperationContext by ExpressionDate*
Addresses the case where a time zone expression lives within a collection
validator as part of a $expr expression. In this case, the Expression
will outlive the OperationContext it was created under.
2017-10-30 08:26:22 -04:00
James Wahlin
1032951961 SERVER-31721 invalid $expr within $and/$or can segfault on call to optimize 2017-10-27 13:55:43 -04:00
Tess Avitabile
0287fb0144 SERVER-31408 Test that all code paths that support expr support throwing at runtime 2017-10-11 14:07:30 -04:00
Tess Avitabile
b1d1b244c7 SERVER-31496 MatchExpressionParser::parse() should not throw 2017-10-11 09:47:56 -04:00
Tess Avitabile
cb9f7cdcb7 SERVER-30731 Add expr support in MatchExpression outside of aggregation 2017-10-05 16:47:26 -04:00