summaryrefslogtreecommitdiff
path: root/jstests/multiVersion
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-54790 Remove the 'allowMigrations' flag from config.collections when ↵Sergi Mateo Bellido2021-03-021-21/+29
| | | | | | | | | | | downgrading - Making the allowMigrations field on config.collections optional - Since DDL operations cannot overlap with a setFCV, we can assume that allowMigrations is true when running the setFCV command. I added an invariant to verify that. - No reason to remove this field since it will never be present when downgrading.
* SERVER-54808: coll_timestamp_test.js should use mongos to query ↵Jordi Serra Torrens2021-02-261-16/+14
| | | | config.collections instead of contacting the configsvr primary directly
* SERVER-53104 Ensure all shard-local cache collections of config.collections ↵Sergi Mateo Bellido2021-02-262-63/+14
| | | | | | | | | | | contain timestamps after upgrade Changelog: - Adding a new command to flush the database cache with write concern - Explicitly waiting for the majority write concern when patching-up the metadata. - Forcing a refresh of all Collections/DBs on all shards
* SERVER-54690 Review migration_between_mixed_FCV_mixed_version_mongods.js testSergi Mateo Bellido2021-02-251-17/+24
| | | | | | | trying to make this test a bit more realistic. The initial binary distribution fulfills our common rules to upgrade a sharded cluster: first, we upgrade the binaries of the CSRS. Afterwards all shards and, finally, the mongos.
* SERVER-53953 Use safe reconfigs for setFCV commandSamy Lanka2021-02-231-0/+60
|
* SERVER-54630 Remove tests that create a standalone instance of a config serverSergi Mateo Bellido2021-02-221-4/+2
|
* SERVER-54132: Review usages of config.collections 'dropped' fieldJordi Serra Torrens2021-02-192-0/+10
|
* SERVER-50778 Compare array indexes numerically for updatesTed Tuckman2021-02-121-0/+29
|
* SERVER-53823 Move multiversion tenant migration tests into correct directoryVesselina Ratcheva2021-02-123-0/+222
|
* SERVER-53104 Ensure all shard-local cache collections of config.collections ↵Sergi Mateo Bellido2021-02-092-2/+30
| | | | | | | contain timestamps after upgrade - Modifying the loader to properly handle metadata format changes in Collections & Databases
* SERVER-53894 Ensure updateFeatureCompatibilityVersionDocument() is idempotentAli Mir2021-02-051-18/+0
|
* SERVER-53105: Target chunks by collectionUUIDJordi Serra Torrens2021-02-011-2/+5
|
* SERVER-50423 Change memberConfig's slaveDelay field to secondaryDelaySecsAli Mir2021-01-283-1/+98
|
* SERVER-52638 Remove leftovers from the upgrade process of 4.2 to 4.4 in the ↵Sergi Mateo Bellido2021-01-231-82/+0
| | | | set feature compatibility version command
* SERVER-53105: Amend tests that target config.chunks by ns to target by ns or ↵Jordi Serra Torrens2021-01-221-3/+4
| | | | uuid depending on collection timestamp
* SERVER-53825 Range deletions collection must not be dropped on downgrade to v4.4Pierlauro Sciarelli2021-01-211-53/+0
|
* SERVER-53867 Add/Remove timestamp to docs on config.chunks when ↵Sergi Mateo Bellido2021-01-211-0/+18
| | | | upgrading/downgrading
* SERVER-53772 Create feature flag for timestamp based collection/database UUIDSergi Mateo Bellido2021-01-191-12/+16
| | | | | Renaming the generic feature guard by the metadata feature guard in some tests
* SERVER-53247 Remove EMRC=false targeted jstests/unittestsPavi Vetriselvan2021-01-141-81/+0
|
* SERVER-53722 Add upgrade/downgrade coverage for eMRC=falsePavi Vetriselvan2021-01-131-0/+95
|
* SERVER-51664 Implement $dateAdd and $dateSubtract in DocumentSource executionMilena Ivanova2021-01-122-0/+41
|
* SERVER-53554 Relax replica set member assertions in ↵Mihai Andrei2021-01-081-23/+8
| | | | delete_haystack_indexes_on_upgrade.js
* SERVER-52767: Handle collectionUUID in config.chunks on upgrade/downgradeJordi Serra Torrens2020-12-103-6/+41
|
* SERVER-39859 Use the Evergreen REST v2 API to download -latest tarballs in ↵Mikhail Shchatko2020-12-081-94/+0
| | | | setup multiversion mongodb
* SERVER-53246 Wait for secondaries to finish setting FCV before checking ↵Jason Chan2020-12-081-2/+2
| | | | state in do_upgrade_downgrade.js
* SERVER-51839 Add error context when document validator with $expr fails by ↵Mihai Andrei2020-12-031-2/+42
| | | | | | | | | | throwing an exception Document validators which use $expr will now generate detailed errors when $expr throws. When the validationAction is set to error, the write will fail with a DocumentValidationError instead of the exception's error code. When the validationAction is set to warn, the write will be accepted and a detailed error will be logged.
* SERVER-52588 Making the upgrade/downgrade process work for the Epoch to ↵Jordi Serra Torrens2020-12-031-9/+35
| | | | ClusterTime migration (PART-2)
* SERVER-52964 Robustify delete_haystack_indexes_on_upgrade.jsMihai Andrei2020-12-031-12/+31
|
* SERVER-52588 Making the upgrade/downgrade process work for the Epoch to ↵Jordi Serra Torrens2020-12-011-15/+108
| | | | ClusterTime migration
* SERVER-50667 replace comment/variable references to slave with secondaryPavi Vetriselvan2020-11-301-1/+1
|
* SERVER-51663 Implement $dateDiff in DocumentSource executionMindaugas Malinauskas2020-11-302-0/+463
|
* Revert "SERVER-51663 Implement $dateDiff in DocumentSource execution"Kaloian Manassiev2020-11-272-463/+0
| | | | This reverts commit 37f35e3c80096b5d55b482b83bfb3cf7af16852f.
* SERVER-51663 Implement $dateDiff in DocumentSource executionMindaugas Malinauskas2020-11-262-0/+463
|
* SERVER-53029 Port the changes for SERVER-52955 to later branchesAlex Taskov2020-11-262-0/+58
|
* SERVER-53052 Review some recent changes introduced in setFCV commandSergi Mateo Bellido2020-11-251-37/+46
| | | | We forgot to support the transitions from LastContinuous <-> Latest
* SERVER-52843 Move abort/await_unprepared_transactions_on_fcv_downgrade.js ↵Jason Chan2020-11-192-0/+135
| | | | files to jstests/multiVersion
* SERVER-51891 Make ShardCollectionType not use strict parsingSergi Mateo Bellido2020-11-181-4/+52
| | | | | | - Properly handling the allowMigrations field on config.cache.collections entries when downgrading to 4.4 - Removing unused failpoints
* SERVER-50442 Remove ensureIndex shell functionRishab Joshi2020-11-172-4/+4
| | | | This commit replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell""
* SERVER-51900 Clear the 'distributionMode' and 'dropped' fields from 4.4 and ↵Kaloian Manassiev2020-11-131-4/+17
| | | | earlier
* Revert "SERVER-50442 Remove ensureIndex shell function This commit also ↵Arun Banala2020-11-122-4/+4
| | | | | | replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell" This reverts commit e69c967ff8b53634770438dfe9a5c7d13548351b.
* SERVER-50442 Remove ensureIndex shell function This commit also replaces all ↵Rishab Joshi2020-11-122-4/+4
| | | | the usages of ensureIndex() with createIndex() in JS tests and JS shell
* SERVER-47081 Disallow creation of haystack indexes and verify that haystack ↵Mihai Andrei2020-11-114-30/+213
| | | | indexes are maintained in mixed version clusters
* SERVER-51880: Remove all {dropped:true} entries from config.collection on ↵Jordi Serra Torrens2020-11-111-0/+75
| | | | FCV upgrade
* SERVER-47081 Delete geoHaystack indexes on upgradeMihai Andrei2020-11-091-0/+211
|
* SERVER-51112 Add runFeatureFlagMultiversionTest helper for targeted ↵Jason Chan2020-10-291-0/+61
| | | | upgrade/downgrade tests
* Revert "SERVER-50778 Compare array indexes numerically for updates"Ted Tuckman2020-10-231-30/+0
| | | | This reverts commit 16b59bd6236a90ad3d807a66ec2fe529e09cf0ec.
* SERVER-51474 Create FCV transition tableA. Jesse Jiryu Davis2020-10-201-12/+10
|
* SERVER-50778 Compare array indexes numerically for updatesTed Tuckman2020-10-151-0/+30
|
* SERVER-51467 Set waitUntilStable to true when upgrading clusters in ↵Ali Mir2020-10-121-2/+6
| | | | change_streams_multiversion_cluster.js
* SERVER-50421 Alias internalValidateFeaturesAsMaster server parameterHuayu Ouyang2020-10-081-0/+91
|