Commit Graph

34 Commits

Author SHA1 Message Date
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
A. Jesse Jiryu Davis
7708026184 SERVER-38717 Shell prohibits w: 0 in session 2019-01-15 18:06:46 -05:00
A. Jesse Jiryu Davis
09fdd6cd55 SERVER-38510 Set moreToCome flag with OP_MSG writes from shell 2019-01-07 22:54:19 -05:00
Dianna Hohensee
4cb0742947 SERVER-36015 Remove references to system.namespaces and system.indexes 2018-08-29 16:47:09 -04:00
Henrik Edin
1a4017efa4 SERVER-29725 Tag jstests in core so we can run the suite on mongoe. 2018-04-18 09:14:20 -04:00
Samy Lanka
ea5b5a97ed SERVER-33287 tag jstests that use commands which return inaccurate results after unclean shutdown 2018-04-06 10:33:03 -04: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
Mathias Stearn
50328747a0 SERVER-13601 Raise write batch limit to 100,000 ops and prevent oversized errors 2017-08-08 10:04:23 -04:00
Eddie Louie
9fc1ecd711 SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
This reverts commit fb956b3b0a.
2017-03-23 14:07:50 -04:00
Randolph Tan
fb956b3b0a Revert "SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped"
This reverts commit 56e66454d1.

Conflicts:
	buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
2017-03-23 13:56:21 -04:00
Jack Mulrow
5a6383e5d1 SERVER-27786 Implement _computeOperationTime 2017-03-23 10:40:52 -04:00
Eddie Louie
56e66454d1 SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
in sharded cluster environments.
2017-03-15 19:19:49 -04:00
Misha Tyulenev
6fe8c420da SERVER-27773 add operationTime field to the command response 2017-02-28 17:10:02 -05:00
Tess Avitabile
064ed7fab8 SERVER-26514 Create command should take idIndex option 2016-10-24 11:13:07 -04:00
Max Hirschhorn
8302d0735b SERVER-24033 Write full index spec in oplog entry for index creation.
This ensures that the index version (aka the "v" field) is always
present in the oplog entry when creating indexes on a 3.4 primary.
We can therefore assume that if the "v" field isn't present in the
corresponding oplog entry, then a v=1 index should be built.

Changes MultiBlockIndex::init() to return the index specifications
that were actually created.

The "repairDatabase", "compact", "copydb", and "cloneCollection"
commands no longer automatically upgrade the index version to the
current default version. Instead, the only command that does so is
the "reIndex" command.
2016-09-14 20:49:17 -04:00
Vincent Do
dbde7d0f14 SERVER-19642 Add check for duplicate keys in index spec 2016-05-09 16:48:09 -04:00
Mathias Stearn
d819ac65d1 SERVER-23128 Refactor mongod write operations
Now both write commands and legacy writes share an implementation.
2016-04-21 18:58:41 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy
3bed8596d1 SERVER-22341 fix jslint errors in jstests/core with eslint --fix
Conflicts:
	jstests/core/count_hint.js
2016-02-09 13:41:02 -05:00
Martin Bligh
b9c5d9f97d SERVER-21093: Make ordered bulk insert operation error out properly 2015-10-26 10:21:05 -04:00
Benety Goh
7d504b6609 SERVER-16930 createIndexes should always set numIndexesBefore and numIndexesAfter when it runs successfully 2015-01-21 09:16:04 -05:00
Randolph Tan
6d38c74515 SERVER-15506 batch_write_commands tests generate too much output 2014-10-16 14:45:31 -04:00
Eric Milkie
f6713955af SERVER-13305 fix test for small_oplog 2014-03-21 10:15:53 -04:00
Greg Studer
b5756056a7 SERVER-12977 disallow empty write batches
Also fix shell batch processing to avoid extra empty batches.
2014-03-17 10:02:22 -04:00
Eric Milkie
b83a8b935a SERVER-12993 restore batch_write_insert test behavior to be exacting 2014-03-14 09:42:56 -04:00
Jason Rassi
5253043325 SERVER-12819 Reject write cmds where batch size > maxWriteBatchSize 2014-03-13 00:50:21 -04:00
Scott Hernandez
a56653e1df SERVER-12786: add shell writeMode option 2014-02-26 12:11:30 -05:00
gregs
9b93e7e43e SERVER-12657 better validity checks for ns and index descriptors in write ops 2014-02-19 14:59:59 -05:00
Eliot Horowitz
616db7ddb0 SERVER-11556: test for moving _id to the front of documents on insert 2013-12-28 21:26:53 -05:00
Eliot Horowitz
be82811514 SERVER-11611: re-write user insert paths to not use DataFileMgr, and use Collection directly 2013-12-22 20:21:50 -05:00
Randolph Tan
3c9c156fa0 SERVER-11969 w:0 on sharded write command is returning upserted values 2013-12-20 10:24:03 -05:00
Randolph Tan
bd9b6d70ef SERVER-9469 Set ok field in response to 1 if write was applied
Also removed promotion of writeErrors to top level field errors and made sure that right error fields are used.
2013-12-19 11:32:39 -05:00
Randolph Tan
0f629b3212 SERVER-9469 Rename errDetails to writeErrors 2013-12-16 17:21:44 -05:00
Greg Studer
406ca294a7 SERVER-11772 new core suite for write command testing 2013-11-18 18:05:19 -05:00