summaryrefslogtreecommitdiff
path: root/jstests
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-38311 Change out merging strategyCharlie Swanson2019-02-133-3/+69
| | | | | Allows an $out stage to run in parallel on all shards if the target collection is sharded and so is the input collection to the aggregate.
* SERVER-39565 Add requires_document_locking tag.Max Hirschhorn2019-02-131-0/+2
|
* SERVER-39488 Look for storage stats in the find command's profiled entry.nehakhatri52019-02-131-1/+2
| | | | | | | The find command will always have the storage stats because the test has created a collection with btree spanning multiple pages. Scanning this collection after a server restart will trigger read from the disk and have the disk read stats.
* SERVER-38621 Do not ignore regex options when specified firstEvan Nixon2019-02-121-0/+19
|
* SERVER-39376 Canonicalize net.ssl.mode to net.tls.modeSara Golemon2019-02-121-0/+39
|
* SERVER-38583 JS test fixes for write errors in transactionsA. Jesse Jiryu Davis2019-02-124-19/+41
|
* SERVER-38583 Fix transaction insert writeError formatA. Jesse Jiryu Davis2019-02-125-10/+264
|
* SERVER-38372 Fix rollback of index drop to update CollectionInfoCache.David Storch2019-02-121-0/+35
|
* SERVER-39528 inc timeouts for socket_disconnect_killsJason Carey2019-02-121-2/+2
| | | | | The current timeouts are a bit too low for some variants. Let's increase them to fix some flakiness.
* SERVER-38516 Tighten up tests that don't fail when not closing connections ↵Matthew Russotto2019-02-1219-97/+35
| | | | during stepdown bbut allow exceptions during stepdown
* SERVER-38516 Remove “closeConnectionsOnStepdown” flag and fix tests ↵Matthew Russotto2019-02-1237-307/+102
| | | | broken by this
* SERVER-39474 Fix incorrect use of 'skip' parameter to configureFailPoint in ↵Esha Maharishi2019-02-112-4/+5
| | | | txn_two_phase_commit_failover.js
* SERVER-39068 Replicate startIndexBuild and commitIndexBuild oplog entriresLouis Williams2019-02-122-12/+99
|
* SERVER-35551 Avoid restarting mongobridge processes.Max Hirschhorn2019-02-113-10/+51
| | | | | | | Changes ReplSetTest, RollbackTest, and RollbackTestDeluxe to avoid restarting the mongobridge process associated with the mongod process being restarted. This ensures that any partitioning which has been configured remains intact after the server is restarted.
* SERVER-39333 Add assertions that operations work in coll_epoch_test2.jsjannaerin2019-02-111-20/+26
|
* SERVER-39169 Add $_internalReadAtClusterTime option to find and dbHash.Max Hirschhorn2019-02-114-86/+313
| | | | | | | | | | | | The new $_internalReadAtClusterTime option replaces all usages of running the dbHash command inside of a multi-statement transaction. It can be used to read from a consistent snapshot in place of specifying an atClusterTime read concern. Unlike multi-statement transactions, the new $_internalReadAtClusterTime option doesn't cause locks to be left on the server after returning a network response. It instead restores the snapshot to read from as part of handling the request.
* SERVER-39328 Ensure unacked write starts and finishes before stepping down ↵Matthew Russotto2019-02-111-7/+24
| | | | in last_error_reported_after_stepdown
* SERVER-36489 Start initial sync oplog fetching from the 'oldest active ↵Samy Lanka2019-02-114-2/+353
| | | | | | | transaction timestamp' SERVER-36490 Initial sync should not actually prepare transactions on applying prepareTransaction oplog entries SERVER-36491 During initial sync, make commitTransaction oplog entries apply the transaction from the prepare oplog entry
* SERVER-37283 Use stronger locks for system.viewsCharlie Swanson2019-02-116-108/+129
| | | | | | | | | | Readers of the view catalog depend on a MODE_IS DB lock preventing concurrent writes to the view catalog. This is true for regular view maintenance commands like collMod, create, and drop. However, on secondaries these commands are replicated as direct writes to system.views and do not hold as strong of a lock. Further, a user is permitted to write directly to system.views and so could hit a similar issue on the primary.
* SERVER-39183 honor socket disconnect in $whereJason Carey2019-02-101-0/+23
|
* SERVER-39150 markKillOnClientDisconnectJason Carey2019-02-102-10/+220
|
* SERVER-39149 Homogenize getMore behaviorJason Carey2019-02-082-2/+4
| | | | | | | | | | | | | Cursor's have subtly different semantics across mongos and mongod and between legacy getMore and command getMore. (as does the find command) Ensuring that all getMores can be paused by waitAfterPinningCursorBeforeGetMoreBatch, and that cursors are cleaned up if they are killed after verifying auth, makes testing a bit simpler and cursors less leaky And adding a check for waitInFindBeforeMakingBatch to runQuery similarly makes it easier to test
* SERVER-39090 Remove sort7.js and fold coverage into sort_array.jsCharlie Swanson2019-02-082-28/+60
|
* SERVER-39463 Add logging to plan_cache_shell_helpers.jsTed Tuckman2019-02-081-36/+51
|
* SERVER-37836 re-evaluate authorization for originating command in getMoreIsabella Siu2019-02-081-12/+121
|
* SERVER-39274 Mongos shouldn't upconvert txn read concern level to snapshot ↵Jack Mulrow2019-02-084-15/+38
| | | | if none is provided
* Revert "SERVER-39149 Homogenize getMore behavior"James Wahlin2019-02-082-4/+2
| | | | This reverts commit 4d703e26c2801971d538f948a4dc3191994f0074.
* SERVER-39269 flag gate sharded $lookupIan Boros2019-02-0710-60/+214
|
* SERVER-39149 Homogenize getMore behaviorJason Carey2019-02-072-2/+4
| | | | | | | | | | | | | Cursor's have subtly different semantics across mongos and mongod and between legacy getMore and command getMore. (as does the find command) Ensuring that all getMores can be paused by waitAfterPinningCursorBeforeGetMoreBatch, and that cursors are cleaned up if they are killed after verifying auth, makes testing a bit simpler and cursors less leaky And adding a check for waitInFindBeforeMakingBatch to runQuery similarly makes it easier to test
* SERVER-39312 Rename targeted jstests for transaction two phase commit to ↵Esha Maharishi2019-02-076-0/+0
| | | | txn_two_phase_commit_*.js
* SERVER-39292 Do not evaluate failpoint twice per operation when multiple ↵jannaerin2019-02-071-0/+22
| | | | options specified
* SERVER-39215 Fix aggregation_currentop.js such that we compare ↵Suganthi Mani2019-02-071-3/+3
| | | | transactionDocument.startWallClockTime is greater than epoch time (1970-01-01T00:00:00.000).
* SERVER-39053 Transaction coordinator should retry sending decision until ↵Esha Maharishi2019-02-074-52/+89
| | | | definitively hearing an ack
* SERVER-39394 Traverse $lookup subpipeline for more involved collectionsCharlie Swanson2019-02-061-0/+68
|
* SERVER-39139 Disallow commitTransaction and abortTransaction commands on ↵Vesselina Ratcheva2019-02-065-176/+12
| | | | secondaries
* SERVER-35402 Add validators where applicable in query_knobs.cppArun Banala2019-02-061-0/+171
|
* SERVER-38986 Timestamp writes while drainingLouis Williams2019-02-061-4/+8
|
* SERVER-38701 Prohibit two phase index build oplog entries through applyOpsLouis Williams2019-02-061-0/+45
|
* SERVER-39145 Modify no_disconnect_on_stepdown.js to test that the write ↵Matthew Russotto2019-02-061-19/+29
| | | | operations are killed during step down.
* SERVER-38519 Test transactions with new stepdown sequence.Suganthi Mani2019-02-062-36/+143
|
* SERVER-38515 Test that initial sync continues through a step down.Suganthi Mani2019-02-062-0/+178
|
* SERVER-39375 fix trafficRecordingFileToBSONArrJason Carey2019-02-051-0/+4
| | | | | | | | | The convertTrafficRecordingToBSON function in the shell calls trafficRecordingFileToBSONArr. When called on a non-existant file, this leaves inputFd <0, which causes crashes when ::close is invoked. The fix is to move the guard which cleans up the file until after the check that it is valid
* SERVER-39365 shell_load_file.js check for windows filenamesGabriel Russell2019-02-051-2/+3
|
* SERVER-38435 Update assertion messages in txn broadcast writes fsm workloadsJack Mulrow2019-02-052-11/+13
|
* SERVER-38906 Test readConcern local txn isolationA. Jesse Jiryu Davis2019-02-052-10/+79
|
* SERVER-38161 Test that prepared transactios can span state transitionsSamy Lanka2019-02-042-7/+107
|
* SERVER-37823 Server Side Traffic CaptureJason Carey2019-02-0411-5/+332
| | | | | Adds support for special commands which dump wire protocol traffic to disk.
* SERVER-39056 Further refine readWriteAnyDatabaseShreyas Kalyan2019-02-043-78/+127
|
* SERVER-39353 disable chaining in rollback_test.jsPavi Vetriselvan2019-02-041-0/+1
|
* SERVER-39272 reconnect tiebreaker node and restart repl after rollback completesPavi Vetriselvan2019-02-041-11/+5
|