summaryrefslogtreecommitdiff
path: root/src/mongo/shell
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-1/+1
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-29154 Have mongo shell display and accept UUID as such instead of ↵Geert Bosch2017-06-091-1/+2
| | | | BinData(4, ...)
* SERVER-29350 Bump featureCompatibilityVersion to 3.6Tess Avitabile2017-06-093-19/+7
|
* SERVER-28590 Invoke validate command on collections before shutting down ↵Eddie Louie2017-06-072-2/+13
| | | | mongod in JS tests
* SERVER-27549 Better check for when a server has shut downRobert Guo2017-05-301-0/+5
|
* SERVER-29349 delete shell/upgrade_check.js, which was relevant for v2.6 ↵Dianna Hohensee2017-05-252-212/+0
| | | | upgrade and now no longer used
* SERVER-27549 Print message on intentional server crash.Robert Guo2017-05-234-49/+59
|
* SERVER-29100 Wait for the same journaling requirement in get_last_error.jsSiyuan Zhou2017-05-191-1/+3
|
* SERVER-29071 gossip clusterTime in mongo shellMisha Tyulenev2017-05-171-2/+20
|
* SERVER-28100 ReplSetTest.awaitNodesAgreeOnPrimary() accepts an optional ↵Benety Goh2017-05-171-2/+6
| | | | expectedPrimaryIndex
* SERVER-28968: Add causal consistent passthrough suiteMisha Tyulenev2017-05-052-23/+37
|
* fix error codesMathias Stearn2017-05-051-1/+1
|
* SERVER-28464: Add canary CPU tests to benchRun and mongoddalyd2017-05-042-4/+27
|
* SERVER-28229: Bind to localhost by defaultSpencer Jackson2017-04-281-0/+4
|
* SERVER-28989 Avoid dropping dummy database in checkReplicaSet().Max Hirschhorn2017-04-281-35/+21
|
* SERVER-29000 Remove the miniwebserver and derivativesAndrew Morrow2017-04-271-2/+1
|
* SERVER-28869 Enable remaining commands supporting readConcern for shell ↵Jack Mulrow2017-04-271-5/+36
| | | | Causal Consistency
* Revert "SERVER-28229: Bind to localhost by default"Kaloian Manassiev2017-04-251-4/+0
| | | | This reverts commit d6b244fce44e6729485b1521346db6e372f6b901.
* SERVER-28229: Bind to localhost by defaultSpencer Jackson2017-04-241-0/+4
|
* SERVER-26848 Exit catchup mode when not syncing more data.Siyuan Zhou2017-04-201-4/+7
| | | | This reverts commit c08590a6ac9dc54c9d910822d47ea17140b56f89.
* SERVER-28868 Set noCursorTimeout option on cursor in checkOplogs().Max Hirschhorn2017-04-201-2/+4
|
* Revert "SERVER-26848 Exit catchup mode when not syncing more data."Robert Guo2017-04-201-7/+4
| | | | This reverts commit d0c851e2f4bfea514e22c97af1838640d2849a8c.
* SERVER-26848 Exit catchup mode when not syncing more data.Siyuan Zhou2017-04-191-4/+7
|
* SERVER-28450 add support for causal consistency to mongo shellMisha Tyulenev2017-04-192-5/+127
|
* SERVER-28053 allow network errors when turning off rollbackHangBeforeStart ↵Judah Schvimer2017-04-172-7/+17
| | | | failpoint
* SERVER-28699 ReplSetTest should always awaitSecondaryNodes() at the end of ↵Benety Goh2017-04-121-1/+2
| | | | initiate
* SERVER-28576 Add arrayFilters parameter to update and findAndModify shell ↵Tess Avitabile2017-04-044-4/+69
| | | | helpers
* SERVER-28376 ReplSetTest.stepUp() calls awaitReplication() before sending ↵Benety Goh2017-03-291-1/+8
| | | | replSetStepUp command
* SERVER-28376 remove requirement for node 0 of every shard to be primary in ↵Benety Goh2017-03-291-2/+8
| | | | ShardingTest initialization
* SERVER-28376 split ReplSetTest.initiate() into 3 functions.Benety Goh2017-03-281-3/+32
| | | | | | ReplSetTest.initiateWithAnyNodeAsPrimary() ReplSetTest.initiateWithNodeZeroAsPrimary() ReplSetTest.initiate() - alias for initiateWithNodeZeroAsPrimary()
* SERVER-28376 remove references to unsupported ReplSetTest.initiate() ↵Benety Goh2017-03-281-8/+3
| | | | | | initiateTimeout option. This option was removed in SERVER-27810.
* SERVER-28107 augment command result with operationTime in mongosMisha Tyulenev2017-03-221-1/+1
|
* SERVER-27750 Handle and include LogicalTime in mongos request/responseRandolph Tan2017-03-141-1/+1
|
* SERVER-19758 add support for "executionStats" and "allPlansExecution" to agg ↵David Storch2017-03-131-2/+13
| | | | | | | | | | | | | | | | | explain Like other explainable commands, aggregate can now be explained using the explain command, e.g. db.runCommand({explain: {aggregate: ...}, verbosity: "executionStats"}). The existing explain:true flag corresponds to "queryPlanner" mode and is still supported. However, explain:true cannot be specified when explaining aggregate via the explain command. Additional execution information is provided only in the $cursor section of the aggregation explain output. Having aggregation stages themselves track and report execution info is further work.
* SERVER-27908 Log every heartbeat during testingWilliam Schultz2017-03-091-8/+28
|
* SERVER-27773 add operationTime field to the command responseMisha Tyulenev2017-02-281-0/+17
|
* SERVER-21675 change replica_sets_legacy to replica_sets_pv0Judah Schvimer2017-02-282-6/+6
|
* SERVER-28094 Remove the StaticObserverAndrew Morrow2017-02-271-3/+0
|
* SERVER-27839 Allow for step downs during reconfig in ReplSetTest initiateJudah Schvimer2017-02-273-6/+23
|
* SERVER-27810 Guarantee that all nodes agree node 0 is primary after ↵Judah Schvimer2017-02-231-3/+42
| | | | ReplSetTest.initiate()
* SERVER-3144 Don't allow --port in shell if --host also specifies a portJonathan Reams2017-02-211-1/+6
|
* SERVER-27813 Change ReplSetTest's checkDBHashesForReplSet() function to ↵Jonathan Abrahams2017-02-211-2/+3
| | | | handle duplicate namespaces being returned
* SERVER-28047 ReplSetTest._callIsMaster() should set slaveOk on primaryBenety Goh2017-02-171-1/+1
|
* SERVER-28037 Raise default writeConcern wtimeout in db.js to 10 minutesBenety Goh2017-02-171-1/+1
|
* SERVER-26623 Check whether error is BulkWriteError before unpacking itJonathan Reams2017-02-091-7/+96
|
* SERVER-26623 fix lintKyle Suarez2017-02-071-1/+0
|
* SERVER-26623 Propagate bulk api write errors in shell CRUD apiJonathan Reams2017-02-071-83/+7
|
* SERVER-27382 Remove usages of DBConfig::reload/getChunkManagerOrPrimary from ↵Kaloian Manassiev2017-02-061-2/+0
| | | | | | legacy code paths This reverts commit c5f52fb3265ef68ffe2741f88758082dda393a4b.
* SERVER-26952: Cache SCRAM-SHA-1 ClientKeySpencer Jackson2017-02-021-1/+9
|
* SERVER-27844 increase timeout in repl/block2.jsBenety Goh2017-01-271-0/+1
|