Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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
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
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
Misha Tyulenev
4d364a4c95 SERVER-28107 augment command result with operationTime in mongos 2017-03-22 12:03:06 -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
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
Randolph Tan
72ec4fc892 SERVER-15506 batch_write_command_delete.js generates too much output 2014-10-06 13:37:27 -04:00
Michael Ivanov
6246d74016 SERVER-14289 invalid limit for delete command should result in write error
Closes #775

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-09-19 16:53:54 -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
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