summaryrefslogtreecommitdiff
path: root/jstests
Commit message (Collapse)AuthorAgeFilesLines
...
* SERVER-46560 Make abort index build deterministicLouis Williams2020-04-1510-64/+56
| | | | | | | | | | | | | | This redesigns user index build abort to have the following behavior: - Take a collection X lock to stop the index build from making progress - If we are no longer primary, return an error - Check whether we can abort the index build (i.e. it is not already committing or aborting) - Delete the index catalog entry and write the abortIndexBuild oplog entry in a WUOW - Interrupt the index builder thread - Wait for the thread to exit - Release locks (cherry picked from commit 3d929ed533a72446353b18b5d60770aed33b58f1)
* SERVER-46976 Enable commit quorum in rollback_waits_for_bgindex_completion.jsLouis Williams2020-04-151-2/+0
| | | | (cherry picked from commit 2f9f301e0247b059ba652c2488a450f1fbd1d77b)
* SERVER-46557 Guarantees the commit quorum value gets persisted before start ↵Suganthi Mani2020-04-152-0/+127
| | | | | | of the index build. (cherry picked from commit 4c41ed37fd58c4e4d4d2707f63f797f23ff9b486)
* SERVER-46937 Aggregation stage serverStatus counters incorrectly count ↵Mihai Andrei2020-04-151-2/+3
| | | | | | update pipelines (cherry picked from commit 1740d32001cf77ce0dab6a1b1ec14d4b5be8bfef)
* SERVER-46322 fix verify_versions_test.js for 4.4Robert Guo2020-04-151-2/+2
|
* SERVER-43849 Write NotMaster error in upgrade_downgrade_cluster due to stale ↵Cheahuychou Mao2020-04-141-127/+118
| | | | RS status in mongos
* SERVER-47491 Fix incorrect error code in multiVersion/long_collection_names.jsJamie Heppenstall2020-04-141-2/+2
|
* SERVER-47436 Add requires_fcv_44 to mongos_dataSize.jsCheahuychou Mao2020-04-141-0/+3
|
* SERVER-45575 Add Javascript helper function to do automatic safe reconfigsWilliam Schultz2020-04-147-34/+462
| | | | (cherry picked from commit b52c7b320bf6e6a031055e611fbb58cc76967352)
* SERVER-47047 Add tests that mongos does not mark a node as down when reads failCheahuychou Mao2020-04-141-0/+69
| | | | (cherry picked from commit b4f1c5ed8af0ed6340c1795071ed061ae7facf14)
* SERVER-47436 Make shards validate shardKey in dataSize commandCheahuychou Mao2020-04-142-14/+113
| | | | (cherry picked from commit 59e005fea0e1ca575083ded8c02c518048fb8af0)
* SERVER-47400 Disallow createCollection/Indexes on system colls in txnsMaria van Keulen2020-04-141-2/+19
| | | | (cherry picked from commit 76d4548a751a56c8faf1887114685b540203a650)
* SERVER-47119 Initialize replica set shard server nodes without a ↵William Schultz2020-04-141-0/+37
| | | | ReplSetConfig term
* SERVER-47119 Revert SERVER-46571William Schultz2020-04-141-6/+39
| | | | This reverts commit a2eeeedb3e358f9a71042a2ff752b67844d4dcf7.
* SERVER-47195 Allow configuring failCommand failpoint to activate only for a ↵Spencer T Brody2020-04-131-3/+34
| | | | | | given appName (cherry picked from commit 021db11a119f431d25afef650735cbf61a823a40)
* SERVER-44450 Do not add fromMigrate field to applyOps insert oplog entriesJason Chan2020-04-131-0/+98
| | | | (cherry picked from commit 7e12da83457ca5a8e76c7d6f39d6b9bbfad3be92)
* SERVER-46892 disallow index builds on drop-pending namespaces ↵Benety Goh2020-04-131-0/+76
| | | | | | (system.drop.*) if we are primary. (cherry picked from commit cf571d9224eff2b613756af87fb0e2974192138a)
* SERVER-46040 Maintain retry state across stale config retries for sharded ↵Blake Oler2020-04-131-0/+38
| | | | | | drop indexes (cherry picked from commit 5403488f656db357ce123f78cf25aa63a9e5aff8)
* SERVER-47231 In multiversion tests, wait for the cluster to stabilize after ↵Nick Zolnierz2020-04-134-55/+50
| | | | | | upgrading (cherry picked from commit 350634304dce8293c1327800f5c8efacf9a46f35)
* SERVER-47421 Make timestamped_reads_wait_for_prepare_oplog_visibility.js ↵Henrik Edin2020-04-131-1/+1
| | | | | | work in multiversion suites (cherry picked from commit 3f2ae017eb48ca739e8f347e47ac0bd9936fc374)
* SERVER-45088 Simplify safe reconfig avoids diverging configs testAli Mir2020-04-101-75/+48
| | | | (cherry picked from commit 98299f2f7eb295361cee2aea4dc03b952483d715)
* SERVER-45088 Test safe reconfig avoids diverging configsAli Mir2020-04-101-0/+122
| | | | (cherry picked from commit 980acca9877377d9de08f82f6e36280085661805)
* SERVER-45956 Allow findAndModify with upsert=true inside multi-document ↵Gregory Noma2020-04-1010-326/+346
| | | | | | transactions (cherry picked from commit 8c7d32e37a2c82d08bfe7fb7cd755ac0022a53a8)
* SERVER-47189 Do a reconfig on upgrade to FCV 4.4 to add a config termWilliam Schultz2020-04-102-1/+67
|
* SERVER-44577 Ensure WiredTiger RecordStore and SortedDataInterface cursors ↵Louis Williams2020-04-101-0/+74
| | | | | | have started a transaction before reading data (cherry picked from commit 34c8bef2ebbe355aef0439a5b85313db1c2f242d)
* SERVER-39458 Continuously drain side writes while waiting for next index ↵Louis Williams2020-04-101-0/+90
| | | | | | build action (cherry picked from commit ca49965d8d68cc853e466ba741df08bb248d46f6)
* SERVER-47423 Take collection MODE_X locks instead of databse MODE_X lock in ↵Gregory Noma2020-04-101-0/+44
| | | | | | cloneCollectionAsCapped (cherry picked from commit 4adcb62e1be77edfd448e3091d307a368181cc9e)
* SERVER-47360 Take collection MODE_IX lock instead of database MODE_X lock ↵Gregory Noma2020-04-101-23/+10
| | | | | | when creating system.profile (cherry picked from commit b0e3eed55a031a43ddc9674c71da7c3e5e59eb64)
* SERVER-47467 Initiate set with high election timeout in ↵William Schultz2020-04-101-1/+1
| | | | | | reconfig_waits_for_config_durability.js (cherry picked from commit ce27e3b6311ed0b4be05bb5a7957be9fd3a52b87)
* Revert "SERVER-47268 retry sharded transaction in ↵Adam Cooper2020-04-101-38/+24
| | | | | | noop__createIndexes_not_blocked_by_txn.js on snapshot errors" This reverts commit d3da6de558fc4fbd7bb20617ed5d1f34c2c58bb3.
* SERVER-47317 Take collection MODE_X locks instead of database MODE_X lock in ↵Gregory Noma2020-04-101-0/+38
| | | | | | covertToCapped (cherry picked from commit ff483e300c692dd2a47a649c4bddc3632178b2fd)
* SERVER-47268 retry sharded transaction in ↵Benety Goh2020-04-101-24/+38
| | | | | | noop__createIndexes_not_blocked_by_txn.js on snapshot errors (cherry picked from commit a25168b6eae5af975581028175572997839b57e4)
* SERVER-45624 Make the balancer split the sessions collectionCheahuychou Mao2020-04-091-0/+155
| | | | (cherry picked from commit a8f80d013ee948e04671b1814d9f3989f6ea8314)
* SERVER-46544 Unblacklist tests in aggregation_secondary_reads passthroughMihai Andrei2020-04-096-42/+57
| | | | (cherry picked from commit c2d9a6418ae34bd0821cfbc84cf78c854d058dd3)
* SERVER-47255 Force $out/$merge tests within jstests/replsets to run with ↵Mihai Andrei2020-04-094-8/+30
| | | | primary read preference
* SERVER-46991 Create aggregation secondary reads passthrough which runs ↵Arun Banala2020-04-0916-145/+158
| | | | | | against a sharded cluster (cherry picked from commit b21f611ec6ad54d552386b125533c22466d12388)
* SERVER-47396 Improve kill_pinned_cursor.js diagnostic loggingCharlie Swanson2020-04-081-2/+10
| | | | (cherry picked from commit 402533f1804fc7b22c9cb09fad8f4f788e35f994)
* SERVER-47077 Clean up log lines in 'mongo/db'samanca2020-04-074-11/+9
| | | | | | Cleaning up log lines to adhere to the LOGV2 style guide. (cherry picked from commit 777f54aab1b1fd9b2db1f416a28755b31e1a4662)
* SERVER-47179: Fix crash when requesting serverStatus oplog before the oplog ↵Lingzhi Deng2020-04-071-1/+5
| | | | | | collection is created (cherry picked from commit d34b92cb31a147cf29fe676081978f3ff7acd79f)
* SERVER-46233 Relocate second call to optimizePipeline()Justin Seyster2020-04-061-0/+67
| | | | | | | | | | | | The second call to optimizePipeline() can sometimes catch optimizations that were missed in the first call. The first call simplifies filter expressions, opening up some optimization opportunities that were previously blocked. We want to catch these opportunities before we push down any stages into the PlanExecutor. (cherry picked from commit 30bd61a92cd4c8d6dd5588b59b9bdf4a0cd3c7d8)
* SERVER-42192 Unblacklist refine shard key test from stepdown suites.Max Hirschhorn2020-04-063-9/+32
| | | | (cherry picked from commit 9e10d4f30058fcc7a2a770cac6148c1fdc2a83ac)
* SERVER-42192 Enable moveChunk FSM workloads to run in stepdown suites.Max Hirschhorn2020-04-069-65/+160
| | | | | | | | | | | | | | | | | Adds automatic retry logic to ChunkHelper.moveChunk() to handle when the CSRS or replica set shard primary being killed, terminated, or stepped down leads to the moveChunk command being interrupted. Exposes replica set connections as part of the "connection cache" so that DBClientRS may be used to track the current primary of the CSRS or replica set shard. Introduces an fsm.forceRunningOutsideTransaction() utility function to prevent a state function from running inside a multi-statement transaction as part of the concurrency_*_multi_stmt_txn*.yml test suites. (cherry picked from commit 5eeb0955011cf96d0218ac0a9d7f54adc9584173)
* SERVER-47011 Add list of errors to ignore in update shard key concurrency ↵Blake Oler2020-04-061-3/+18
| | | | | | test (only in stepdown suites) (cherry picked from commit 2f5c276288eaf2f87522a708864f99952cd888a8)
* SERVER-47342 add requires_journaling tag to ↵Dianna Hohensee2020-04-061-0/+2
| | | | | | startup_recovery_truncates_oplog_holes_after_primary_crash.js (cherry picked from commit a2f3c9e0c35154b676e7523cfd1e93397f6b1a27)
* SERVER-46832 add a variant to run the jstest/core suite with enabled hedge readsr4.3.6Misha Tyulenev2020-04-061-0/+108
| | | | (cherry picked from commit 43272299049a1cbe1c9c2eee7b871fa21df1f8fd)
* SERVER-47109 Fix index-build race in replset1.js, try 2A. Jesse Jiryu Davis2020-04-061-8/+0
| | | | (cherry picked from commit 188862afbe0c75b09e6dddd56e7f35708d5c4df9)
* SERVER-47335 Guarantee document ordering with $sort stage in batch_writes.js ↵Mihai Andrei2020-04-061-1/+9
| | | | | | to trigger expected DuplicateKeyError (cherry picked from commit b4210c3633fc7157014a494e27928994313af860)
* SERVER-46894 Wait for the current config to be committed before running ↵Siyuan Zhou2020-04-054-43/+35
| | | | | | | | | | | | reconfig. This also changes the behavior of waiting for both Config Replication and Oplog Commitment proactively at the end of safe reconfig. Both conditions guarantee the safety of the next reconfig. Now we only wait for Config Replication at the end of safe reconfig and wait for both condition at the beginning of the next reconfig when the waiting is necessary. (cherry picked from commit 89ec7322a58686b89aa71f26b1f050ded94cf949)
* SERVER-47051 Investigate OCSP failures on 4.3.4 and on 4.5.0Shreyas Kalyan2020-04-0420-328/+503
| | | | (cherry picked from commit 65d93bcbc3acf6782fce539c3629d2112ec1df1f)
* SERVER-43681 Wait longer for TTL monitor in indexed_insert_ttl.js.Max Hirschhorn2020-04-031-1/+2
| | | | (cherry picked from commit 98e0d301535330cd57e3a777096b1c2508f1cc79)