summaryrefslogtreecommitdiff
path: root/jstests
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-30773 optimize bsonWoCompare/bsonBinaryEqualablack122018-10-191-39/+39
| | | | (cherry picked from commit 2d379ce39872fdfc04e6775ed8adea7ccdd1d1c1)
* SERVER-34986 Allow connections to override maxConns based on CIDR rangeJonathan Reams2018-10-152-0/+51
| | | | (cherry picked from commit 1fb52e97b33c6c4ed7855994aeb7c4c4a7e64b1d)
* SERVER-37391 plan_cache_index_create.js should wait for index build start, ↵James Wahlin2018-10-121-5/+4
| | | | | | rather than just createIndexes command start (cherry picked from commit c6bceb292246721c5a0950e84d6b71ee1bc04bdf)
* SERVER-37610: Use unique coll name in update_numeric_field_name.js to avoid ↵Nick Zolnierz2018-10-121-1/+1
| | | | | | clashing in parallel suite (cherry picked from commit fc5c06574b885d9e0655e153d6e799616baada21)
* SERVER-35323 Guarantee the command object sent by the ShardingTaskExecutor ↵Blake Oler2018-10-121-0/+10
| | | | | | will always have the correct logical session id (cherry picked from commit 34de1953a9575f2745a1f430f5eb7ce2a6014031)
* SERVER-37058: Update with numeric field names inside an array can cause ↵Nick Zolnierz2018-10-111-0/+29
| | | | | | | validation to fail This is a simpler version of the fix on master to allow for an easier backport.
* SERVER-37464 Reduce execution time of secondary reads workloadMaria van Keulen2018-10-101-2/+4
| | | | (cherry picked from commit a0193e9851d4e308a6b5eff23f1c48033637ea45)
* SERVER-37126 Always _runSafely in implscopeJason Carey2018-10-091-3/+4
| | | | | | Extends _runSafely use to all public methods on implscope (cherry picked from commit 1faa184e835a7a628631064af08389471d64ed0f)
* SERVER-37132 Negation of $in with regex can incorrectly plan from the cache, ↵Bernard Gorman2018-10-081-0/+54
| | | | | | leading to missing query results (cherry picked from commit ba38c66d9483d2fb8a644772fa5dd0fff78a3cc9)
* SERVER-31563 Remove sections of not_allowed_on_sharded_collection_cmd.js ↵Randolph Tan2018-10-051-36/+5
| | | | | | | with known bugs (cherry picked from commit b226e55c4ca7b8c1275d51f6a1300cfed2ec7d24) (cherry picked from commit f1c9541eed03d725e14720c6c9c6a54d84f44e66)
* SERVER-26854 LockStats for sub-operations should not include wait time for ↵Xiangyu Yao2018-10-042-0/+169
| | | | | | previous operations (cherry picked from commit b5ca922655a1d0a438c39c38b2c4434016069cb7)
* SERVER-36721 Prevent tests that use the logical session cache from running ↵Blake Oler2018-10-041-0/+7
| | | | | | in parallel (cherry picked from commit 184b099350670747503e0765300ad5892293d426)
* SERVER-36982 Fix Jepsen mmap and Linux (no journal) failuresr4.0.3-rc0r4.0.3Tess Avitabile2018-09-251-1/+1
|
* SERVER-36944 applyOps uses applyCommand_inlock() for system.indexes insertsBenety Goh2018-09-251-3/+2
|
* SERVER-36944 add characterization test for applyOps index creationBenety Goh2018-09-251-0/+89
| | | | (cherry picked from commit 72ff3cb4ee0082e4310505fb10e32eaa133cb0a6)
* SERVER-35821 readConcern:snapshot transactions need a read timestamp <= WT's ↵Matthew Russotto2018-09-251-0/+112
| | | | | | all_committed point (cherry picked from commit c46faf4672c81d4801014981669d770fc65b950e)
* SERVER-36985 Tag transactions_after_rollback_via_refetch.js with ↵William Schultz2018-09-251-0/+2
| | | | uses_transactions
* SERVER-36944 different index name for system.indexes test case in ↵Benety Goh2018-09-251-4/+4
| | | | apply_ops_create_indexes.js
* SERVER-36985 Test single replica set transactions immediately after a ↵William Schultz2018-09-241-0/+120
| | | | rollbackViaRefetch
* SERVER-36951 a createIndexes operation inside applyOps is not required to ↵Dianna Hohensee2018-09-241-10/+36
| | | | | | have a UUID. (cherry picked from commit 0d0ba866052fd2b9ceaaa66c2b725a02822b102d)
* SERVER-36982 Reintroduce enableMajorityReadConcern:false server parameterTess Avitabile2018-09-2457-26/+182
|
* SERVER-37152 Increase write concern timeouts for writes expected to succeed ↵William Schultz2018-09-241-9/+9
| | | | | | in tags.js (cherry picked from commit 17af0c46faacd8bcd7dd99cfc668011e7911e18c)
* SERVER-28990 avoid bind on --repairAnnie Black2018-09-241-0/+22
| | | | (cherry picked from commit 8084a0ce51f6af543385e9292d11b6943d6b7cd4)
* SERVER-37071 Blacklist set7.js and max_doc_size.js from ↵vrachev2018-09-212-4/+11
| | | | | | retryable_writes_jscore_stepdown_passthrough (cherry picked from commit 7087350d1d5c943520e9972ac1f8b85252c0eceb)
* SERVER-36961 createIndexes command should check if indexes already exist ↵Louis Williams2018-09-211-0/+47
| | | | | | with weak lock (cherry picked from commit 44c1dcf0e962bda6c37c02c9e8bebcc4fa6e447e)
* SERVER-37147 sessions_collection_auto_healing.js should use 2 node replica setTess Avitabile2018-09-201-2/+5
| | | | (cherry picked from commit 8f4ef548bbe6b6e6cf6a975d649477e28bbc9808)
* SERVER-36919 Add server setParameter tlsSuppressClientCertificateSara Golemon2018-09-201-0/+45
| | | | | | (cherry picked from commit 1070aa3880ac73bc1923b44a372c61c209a35f61) Set parameter name mapped from tls* to ssl*
* SERVER-35418 Allow specifying CAs for incoming and outgoing connections ↵Sara Golemon2018-09-201-0/+82
| | | | | | | | separately (cherry picked from commit 17ccef2b9f0c71b60d31b84b8824215ff87f03aa) Option names mapped from tls* to ssl*
* SERVER-35629 Use WiredTiger salvage API to repair corrupt metadataLouis Williams2018-09-202-1/+82
| | | | (cherry picked from commit 3acf1742d7bcec78997614edb1e8ef26ccf2331f)
* SERVER-36761 Add requires_replication tag to ↵Louis Williams2018-09-201-1/+1
| | | | | | repair_invalidates_replica_set_config.js (cherry picked from commit ab11111fc4437e8fff6034d25f76e867d63ded28)
* SERVER-13946 Put skip stages before fetch stages.Justin Seyster2018-09-191-0/+63
| | | | (cherry picked from commit 69f3e89f6921fc4ff2b5413952eeb517af69bb83)
* SERVER-36747 ssl_client_certificate_warning_suppression.js - wait for log ↵Mark Benvenuto2018-09-191-0/+12
| | | | | | message (cherry picked from commit 4ccfc88d91836d1fa5bbe7868dc2994f66a66a12)
* SERVER-36732 amend writeVesselina Ratcheva2018-09-191-1/+1
|
* SERVER-32198 Get rid of CollectionShardingState::collectionIsShardedHenrik Edin2018-09-182-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 80de0da37b00dbeed576b28a842cb172b6714358) SERVER-35773 Remove references to the CatalogCache from MetadataManager (cherry picked from commit 2aa65a86193e5d38934a4f2d6b0a8298e2432485) SERVER-32198 Add support for an optional `vWanted` to StaleConfigInfo (cherry picked from commit 60559a00b81293184922b3418a8e56610edf8dd9) SERVER-36054 Remove ScopedCollectionMetadata's operator bool (cherry picked from commit c9c340ad6e9e1f33cb001a8375c62d6b16138c74) SERVER-36054 Remove more unused methods from CSS/MetadataManager (cherry picked from commit ca04f5bcf9bfa73c9162b3a77225c997c6deec8a) SERVER-36116 Get rid of CollectionShardingState::resetAll (cherry picked from commit db1cc80d13d203b6351f5510f7756cc1c7bfc0ea) SERVER-36054 Get rid of unused methods from CollectionShardingState (cherry picked from commit 884d232473dca72e0872f0e540d4c3108c1e0b3d) SERVER-36164 Decouple ScopedCollectionMetadata from MetadataManager (cherry picked from commit d91262c4a2ed7d94923c3b1c5ff5d208aa981c73) SERVER-29908 Move CollectionShardingState under sharding_api_d (cherry picked from commit e491e284e8066929c8272c96a3128241ab481be8) SERVER-29908 Remove ShardingState::appendInfo Expose the ShardingState properties and move the appendInfo logic to be entirely inside the 'getShardingState' function, which is its only consumer. (cherry picked from commit 24e411d5cd7f64c5b4da25a351529cd1873284b8) SERVER-29908 Move 'updateConfigServerOpTimeFromMetadata' out of ShardingState (cherry picked from commit 7a97557ce5bf74dc2b663762b7a5ffb9c958d580) SERVER-29908 Move all runtime logic out of ShardingState ... and move it into a ShardingInitializationMongoD class, which is responsible for driving the sharding-awareness of the node and setting it onto ShardingState. Also gets rid of the 'sharding' library, so there is no more library dependency cycle. (cherry picked from commit 200c3dc58410d8b3287a2075cc9b2ad085100e83) SERVER-29908 Fold the 'sharding_connection_hook' library into 'sharding_initialization' ... and also remove dependency of MongoS on the replication coordinator (cherry picked from commit fab6864f4edcae7bb304f79e601f1f62cc376a77)
* SERVER-36768 Use namespace orphan for the recovered orphaned collectionsXiangyu Yao2018-09-182-2/+91
| | | | (cherry picked from commit 238af0b7739e6c4702e234cfb28e3a714f119523)
* SERVER-36127 use w:majority instead of w:2 in apply_batch_only_goes_forward.jsJudah Schvimer2018-09-181-4/+4
| | | | (cherry picked from commit 82270c960534faaff9daf82a4ff34062f7bce6aa)
* SERVER-35782 Repair should move aside unsalvagable data files and create ↵Louis Williams2018-09-183-27/+160
| | | | | | | | | empty ones in their place. (cherry picked from commit 60ed4a2dbfa1a80c9bb8da87a6d2fa55b55dffa4) Conflicts: src/mongo/db/repair_database.cpp
* SERVER-35731 Prevent a repaired node from re-joining a replica setLouis Williams2018-09-185-2/+329
| | | | | | | | | (cherry picked from commit 17686781044525b9c3fbdf06ca326c8f4fb383ba) Conflicts: src/mongo/base/error_codes.err src/mongo/db/repair_database_and_check_version.cpp src/mongo/db/storage/SConscript
* SERVER-34577 isEphemeralForTest does not support majority readConcernHenrik Edin2018-09-141-1/+1
| | | | (cherry picked from commit 45fccee20b37579662fabc6268a76a52f00661c4)
* SERVER-35630 Throw error message to run repair when detecting missing or ↵Xiangyu Yao2018-09-144-17/+230
| | | | | | corrupt data files (cherry picked from commit 3deba1b701332ad9afb6e722db928ca98714ea87)
* SERVER-36993 Fix crash due to incorrect $or pushdown for indexed $expr.David Storch2018-09-141-0/+25
| | | | (cherry picked from commit ee97c0699fd55b498310996ee002328e533681a3)
* SERVER-34577 Parse read and write concern for command invocation in ↵Henrik Edin2018-09-143-7/+67
| | | | | | embedded. Behave like a standalone mongod. (cherry picked from commit 5de2e9361b92fbbc59625636eecbe6bd1f1a78c5)
* SERVER-36732 Wait for secondaries to be up and electable in election handoff ↵Vesselina Ratcheva2018-09-131-0/+7
| | | | | | jstests (cherry picked from commit 58e6224a7b2ff55f111e1b2fd69218ad43e91cd7)
* SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵Henrik Edin2018-09-132-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | every unit test. This patch does several loosely related and surprisingly hard to separate things. 1.) Make the ServiceContext class final 2.) Create a mechanism, called ConstructorActions, for running methods on ServiceContexts immediately after they're built and immediately before they're destroyed. 3.) Introduce / improve test fixture base classes for tests, giving them fresh ServiceContext instances for each test case. There is one fixture for tests that need a storage engine and another for those that do not. 4.) Make several remaining global variables SC decorations in support of (3) 5.) Replace many MONGO_INITIALIZERS that access getGlobalServiceContext with the new constructor-actions system, which is needed for (3.) 6.) Fix up tests to use the fixtures from (3) and fix tests that silently used different service contexts in together in a technically illegal fashion that now breaks. 7.) Utilize (2) as necessary to simplify initialization of new ServiceContexts, simplifying the fixtures in (3). (cherry picked from commit d520be0814492c262515cf0a5d62a127ace70dce) SERVER-35985 Destroy clients started in other threads. (cherry picked from commit 9a68eb0cc65a93233b4ff5746330f9eb77de9b90) SERVER-36258 Construct ServiceContext after mongo initializers complete. (cherry picked from commit bfe170e49b1dc10b2badde45bc13c057a2f8ab61) SERVER-36400 Explicitly destroy the client on exiting run() of each BackgroundJob (cherry picked from commit b079e4713d897b5541c2804386025817ec720800) SERVER-36351 Fix so ServiceContextMongoDTest removes the temp directory in its destructor. (cherry picked from commit 4c16f0f336f4db77034e8aa594bbd4a5bac3f40c) SERVER-36347 Fix parse_zone_info.py after ServiceContext refactor. (cherry picked from commit c9d4204b6243e5eee6fe0b5e2c34d02af9ac5edb)
* SERVER-36503 Skip dry run during election handoffVesselina Ratcheva2018-09-121-3/+2
| | | | (cherry picked from commit b19e39088cf8754186de8f5f3f1dae17a12aaa4c)
* SERVER-37050 wait for replication in session_collection_auto_healingMisha Tyulenev2018-09-111-0/+10
| | | | (cherry picked from commit 53e841861042a5fab55bfdf55021f8a7154fdb6d)
* SERVER-36332 write to primary from secondary in LogicalSessionsCache for ↵Misha Tyulenev2018-09-112-16/+15
| | | | | | ReplicaSet (cherry picked from commit a3d17a55ca68ba37eb59620e04258f61f133b21f)
* SERVER-36435 Make ReplSetTest.kDefaultTimeoutMS accessible everywhere.Justin Seyster2018-09-112-4/+15
| | | | | | | | | | Tests should, generally, not be accessing global const values like kReplDefaultTimeoutMS. This change removes that const and fixes the detect_spawning_own_mongod.js override so that it no longer overwrites ReplSetTest.kDefaultTimeoutMS, making it accessible to jstests that do not operate on replica sets. (cherry picked from commit eebc418c225b949e60927551451a8277115e8da6)
* SERVER-34500 Wait for replication after setFCV in ↵Jack Mulrow2018-09-101-0/+3
| | | | database_versioning_upgrade_downgrade.js
* SERVER-37002 collection rename drops indexes with long names in the target ↵Benety Goh2018-09-101-2/+50
| | | | | | | | | | namespace This is already done implicitly during a two phase collection drop. Renaming a collection with dropTarget set to true should handle long index names in a similar manner. (cherry picked from commit 8f37bba5a81b975101ae0ad4a0f894cce6dba648)