summaryrefslogtreecommitdiff
path: root/src/mongo/shell/utils.js
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-31194 Add a version of retryable_writes_jscore_passthrough.yml with ↵Jack Mulrow2017-12-071-0/+3
| | | | stepdowns
* SERVER-31777 deactivate logical sessions for fcv34Jason Carey2017-11-091-0/+1
| | | | | | For anything less than fully upgraded to 3.6: * suppress logicalSessionTimeoutMinutes in isMaster * fail any commands that passes lsid
* SERVER-31296 Update sessions, causal, and retryable in the mongo shell.Max Hirschhorn2017-11-081-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removes the initialClusterTime and initialOperationTime session options. * Enables causal consistency by default when using an explicit session. * Adds a --retryWrites command line option to the mongo shell for enabling retryable writes in the mongo shell. The retryWrites options to SessionOptions is left for convenience with testing. * Renames setClusterTime() to advanceClusterTime(), and adds a corresponding advanceOperationTime() method to DriverSession. * Enables assigning transaction numbers for write commands where ordered=false. * Prevents the mongo shell from sending afterClusterTime or assigning transaction numbers when talking to a stand-alone mongod. * Prevents the mongo shell from assigning transaction numbers when using an unacknowledged (w=0) writeConcern. * Changes DBClientRS to re-discover the current primary of the replica set when it receives an error code representing "not master" in addition to an error message representing "not master". * Adds a shellPrint() pretty-printer for SessionOptions and DriverSession instances so they no longer print out their entire object definition.
* SERVER-31413 Clean up structure of rollbackViaRefetchNoUUID test suiteWilliam Schultz2017-10-181-0/+1
|
* SERVER-31456 Set initial{Cluster,Operation}Time in concurrency suite.Max Hirschhorn2017-10-141-0/+1
| | | | | | Ensures that the FSM worker threads are guaranteed to observe the effects of the $config.setup() function being called since they'll specify an afterClusterTime beyond that point.
* SERVER-31213 Retry retryable writes at least once in ↵Jack Mulrow2017-10-111-0/+1
| | | | retryable_writes_jscore_passthrough
* SERVER-30511 call checkUUIDsConsistentAcrossCluster() before shutting down a ↵Esha Maharishi2017-09-251-0/+2
| | | | ShardingTest
* SERVER-31095 Adding an evergreen builder to test the legacy transport layer. ↵Henrik Edin2017-09-221-0/+1
| | | | Fix so resmoke.py can passthrough the --transportLayer option.
* SERVER-30953 Add auto-retry logic to the mongo shell for testing during ↵Jack Mulrow2017-09-211-1/+3
| | | | stepdown suites
* SERVER-19076 handle multiline shard keys in sh.status()Kevin Pulo2017-09-211-0/+12
|
* SERVER-30903 Fix shellHelper.use() and setting global `db` object.Max Hirschhorn2017-08-301-1/+1
|
* SERVER-30686 Wire up SessionOptions in more places.Max Hirschhorn2017-08-301-2/+2
| | | | | | Creates a _DummyDriverSession instance when startSession() isn't called so that the DB and DBCollection implementations can rely on the same session-related APIs.
* SERVER-30266 Enable TestData.skipValidationOnNamespaceNotFound by default to ↵Eddie Louie2017-08-121-1/+7
| | | | | | bypass collection validation error due to namespace not found for sharding and replicaset tests
* SERVER-30325 Temporarily exclude the 'config' database from the fuzzer ↵Kaloian Manassiev2017-08-121-0/+1
| | | | DBHash checks
* SERVER-29593: Integrate the official JSON Schema test corpus into the unit testsNick Zolnierz2017-08-111-1/+2
|
* SERVER-29402 Implement ServiceExecutor and fixed-size test executorJonathan Reams2017-07-141-0/+1
|
* SERVER-29350 Bump featureCompatibilityVersion to 3.6Tess Avitabile2017-06-091-2/+0
|
* SERVER-28590 Invoke validate command on collections before shutting down ↵Eddie Louie2017-06-071-1/+3
| | | | mongod in JS tests
* SERVER-21675 change replica_sets_legacy to replica_sets_pv0Judah Schvimer2017-02-281-1/+1
|
* SERVER-27839 Allow for step downs during reconfig in ReplSetTest initiateJudah Schvimer2017-02-271-1/+7
|
* SERVER-26952: Cache SCRAM-SHA-1 ClientKeySpencer Jackson2017-02-021-1/+9
|
* SERVER-27035 rs.compareOpTimes() throws exception when comparing with empty ↵Jack Mulrow2016-12-221-11/+20
| | | | OpTime
* SERVER-26065 Write more generic optime comparator functionRandolph Tan2016-11-091-0/+57
|
* SERVER-25488 __sanitizeMatch needs a check for nullJonathan Abrahams2016-09-151-1/+1
|
* SERVER-25488 fixed lintBenety Goh2016-09-151-4/+4
|
* SERVER-25488 Added JavaScript funciton to mongo shell to check for sanitizer ↵Jonathan Abrahams2016-09-151-0/+25
| | | | | | | | | builds _isAddressSanitizerActive() _isLeakSanitizerActive() _isThreadSanitizerActive() _isUndefinedBehaviorSanitizerActive()
* SERVER-25889 Collection validation should fail if ↵Tess Avitabile2016-09-071-1/+3
| | | | featureCompatibilityVersion is 3.2 and the collection contains NumberDecimal values
* SERVER-25474 make jsTest.authenticate more flexibleRobert Guo2016-08-261-5/+5
|
* SERVER-25768 skip hooks in fuzzer suites when invalid views presentKyle Suarez2016-08-241-1/+2
| | | | | Skips the validate and dbhash hooks for jstestfuzz* suites when listCollections fails with an InvalidViewDefinition error.
* SERVER-25267 SERVER-25265 Integrate compression with networking codeJonathan Reams2016-08-091-0/+1
| | | | and snappy compressor
* SERVER-25153 Converting sharding_last_stable_mongos test suite to include ↵Dianna Hohensee2016-07-221-0/+1
| | | | mixed version shards.
* SERVER-25066 add automation desgination to shell promptMatt Cotter2016-07-201-4/+12
|
* SERVER-18399 Issue a notification in the shell when automation is activeAndrew Morrow2016-07-151-0/+33
| | | | | Also provides a new setParameter to configure the automation name to be returned in an isMaster reply.
* SERVER-24201 jsTest.authenticateNodes doesn't handle temp network errorsJonathan Abrahams2016-06-141-1/+1
|
* SERVER-22204 Tests should lower WT cache sizeMike Grundy2016-06-131-0/+1
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-63/+39
|
* SERVER-22533: correct tests for writeConcern majority + journal behaviorsScott Hernandez2016-03-271-0/+2
|
* SERVER-22320 remove SYNC option and SyncClusterConnectionMisha Tyulenev2016-03-101-1/+0
|
* SERVER-22469 Format JS code with approved style in src/mongo/shell & ↵Jonathan Abrahams2016-03-091-414/+523
| | | | src/mongo/scripting
* SERVER-22882 Remove the argumentsToArray function from the shellKamran Khan2016-02-291-7/+0
| | | | The function is no longer necessary now that Array.from exists.
* SERVER-22340 Fix JS lint errors in src/mongo/ with ESLint --fixMike Grundy2016-02-051-84/+84
|
* SERVER-18144 Remove references to TestData.testFile and TestData.testPathJonathan Abrahams2016-02-011-16/+0
|
* SERVER-20519 Set random seed, assert if seed not set and random function is ↵Jonathan Abrahams2015-12-311-42/+69
| | | | invoked.
* SERVER-21450 - enableMajorityReadConcern in MongoRunner to unblacklist ↵Jonathan Abrahams2015-12-101-0/+1
| | | | aggregation_read_concern_majority overrride
* Revert "SERVER-21450 - enableMajorityReadConcern in MongoRunner to ↵David Storch2015-12-081-1/+0
| | | | | | unblacklist aggregation_read_concern_majority overrride" This reverts commit 6de5b5be271ae84364b27322e8ad923bc6364a4a.
* SERVER-21450 - enableMajorityReadConcern in MongoRunner to unblacklist ↵Jonathan Abrahams2015-12-081-0/+1
| | | | aggregation_read_concern_majority overrride
* SERVER-21487 Add new suite for running 3.2 SCCC cluster with 3.0 mongos ↵Randolph Tan2015-11-201-0/+2
| | | | against jstests/sharding
* SERVER-20727 Seed shell random numbers from SecureRandomJonathan Reams2015-11-121-4/+3
|
* SERVER-18607 Mongo shell should report whether connected MongoDB is enterpriseJonathan Reams2015-10-131-4/+19
|
* Revert "SERVER-18607 Mongo shell should report whether connected MongoDB is ↵Max Hirschhorn2015-10-121-19/+4
| | | | | | enterprise" This reverts commit 0da3d37f6c8ada55e523b7176378ca047a0fa985.