Commit Graph

29 Commits

Author SHA1 Message Date
vrachev
ffe35fbcb4 SERVER-38900 Implement JSON Schema parsing for 'encrypt' 2019-01-25 15:55:25 -05:00
Sara Golemon
7d255086dd SERVER-35847 Remove eval command and remove/update related tests/helpers 2018-06-29 23:02:02 -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
Dianna Hohensee
4094162bbe SERVER-34991 JS tests doing transaction operations must use majority writeConcern for drops 2018-05-25 12:11:06 -04:00
Xiangyu Yao
e0dc0aa341 SERVER-34866 Blacklist/unblacklist tests in secondary_reads_passthrough 2018-05-22 19:02:04 -04:00
Matthew Russotto
f939177a8d SERVER-33658 Disable transaction tests on storage engines without document-level locking 2018-03-05 14:30:54 -05:00
Matthew Russotto
ae68272979 SERVER-32320 Push doTxn oplog entry generation into logOp on transaction commit. 2018-03-01 08:27:54 -05:00
Siyuan Zhou
a403f49731 SERVER-33023 Disable transaction on MMAPv1.
This reverts commit 4232d7725f.
2018-02-01 12:00:35 -05:00
Max Hirschhorn
35b5b72146 SERVER-32522 Clean up {read,write}Concern and readPreference overrides.
Introduces OverrideHelpers object with convenience methods for
inspecting certain aggregation and map-reduce commands, as well as
overriding startParallelShell(), Mongo.prototype.runCommand(), and
Mongo.prototype.runCommandWithMetadata().

Also removes a number of tests that were incorrectly blacklisted from
the read_concern_majority_passthrough.yml and
read_concern_linearizable_passthrough.yml test suites.
2018-01-30 19:45:42 -05:00
Matthew Russotto
55be4faf62 SERVER-32162 Create a doTxn command 2017-12-20 13:37:47 -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
Nick Zolnierz
dc09f8a83b SERVER-31168: Add integration testing for $jsonSchema in contexts other than doc validation 2017-10-06 12:50:59 -04:00
Kyle Suarez
7a15db8896 SERVER-30695 uniqueItems must ignore field order when comparing documents 2017-09-20 14:31:17 -04:00
Nick Zolnierz
4574a7c8dd SERVER-30176: Extend the JSON Schema parser to handle logical restriction keywords (enum only) 2017-09-19 13:47:58 -04:00
Kyle Suarez
e7c299f90d SERVER-30178 extend JSON Schema parser to handle "items" and "additionalItems" 2017-09-18 14:02:04 -04:00
David Storch
27471dc703 SERVER-31042 Fix MatchExpression parser bug which causes predicates to be discarded. 2017-09-12 13:57:08 -04:00
Nick Zolnierz
7044c03093 SERVER-30742: Fail with a useful error message when given integer type keyword for JSON Schema 2017-09-11 18:07:16 -04:00
Kyle Suarez
8244b17489 SERVER-30178 extend JSON Schema parser to handle "uniqueItems" 2017-09-11 10:22:58 -04:00
David Storch
7c6374f5d5 SERVER-30177 Allow empty JSON Schema 'dependencies'. 2017-09-08 13:57:18 -04:00
David Storch
3f517325db SERVER-30177 Implement JSON Schema 'patternProperties' and 'additionalProperties'. 2017-09-08 12:46:23 -04:00
Nick Zolnierz
f2dc3780cd SERVER-30868: Explicitly whitelist certain non-functional JSON Schema keywords 2017-09-07 13:39:19 -04:00
Nick Zolnierz
250181f4fe SERVER-30868: Explicitly handle JSON Schema keywords that aren't supported 2017-09-06 17:14:38 -04:00
David Storch
292a7016e0 SERVER-30177 Implement JSON Schema 'dependencies' keyword. 2017-08-30 13:22:31 -04:00
David Storch
67f72740b1 SERVER-30245 Add support for multiple types in JSON Schema 'type'/'bsonType' and in $type.
This change implements the 'type' and 'bsonType' JSON Schema
keywords accepting an array of type aliases. At the same
time, it adds support for an array of type aliases in the
$type match expression.
2017-08-29 18:20:53 -04:00
David Storch
57f78ab895 SERVER-30177 Add support for JSON Schema 'minProperties' and 'maxProperties'. 2017-08-24 17:41:30 -04:00
David Storch
bb7eba5303 SERVER-30741 Add 'bsonType' JSON Schema keyword.
Also changes support for the 'type' keyword to only accept
the primitive types specified in the JSON Schema spec.
2017-08-24 14:44:16 -04:00
David Storch
dfb7249dbd SERVER-30177 Implement JSON Schema 'required' keyword. 2017-08-22 09:49:45 -04:00
Kyle Suarez
921ba9bba8 SERVER-30178 extend JSON Schema parser to handle "minItems" and "maxItems" 2017-08-21 15:22:35 -04:00
Nick Zolnierz
1e3240bf58 SERVER-30176: Extend the JSON Schema parser to handle logical restriction keywords 2017-08-18 12:40:55 -04:00