Commit Graph

704 Commits

Author SHA1 Message Date
Huayu Ouyang
d4bea64d76 SERVER-55707 Test workflow we expect users to go through to migrate getLastErrorDefaults to CWWC 2021-05-07 17:15:41 +00:00
Gregory Noma
fffab63dc0 SERVER-56573 Ignore config.transactions entries referencing removed oplog entries when removing time-series entries on FCV downgrade 2021-05-05 14:56:25 +00:00
Moustafa Maher
242d8aa409 SERVER-55703 Fix tests to update getDefaultRWConcern to return the implicit default 2021-05-04 22:31:49 +00:00
Moustafa Maher
0d27344b5a SERVER-55703 Fix tests to update getDefaultRWConcern to return the implicit default 2021-05-04 22:30:37 +00:00
Vesselina Ratcheva
da663d32d6 SERVER-53563 Cancel tenant migrations on FCV change (donor side) 2021-05-01 03:30:15 +00:00
Gregory Wlodarek
7b10322687 SERVER-16049 Replicate capped collection deletes 2021-04-23 02:13:16 +00:00
Gregory Noma
8dd77768b7 SERVER-55209 Remove entries from config.transactions that reference oplog entries from time-series inserts on FCV downgrade 2021-04-19 20:25:55 +00:00
Yoonsoo Kim
8c0dc70a2d SERVER-47659 Added 'wildcardProjection' index option to index signature 2021-04-19 18:07:39 +00:00
Nick Zolnierz
53230099fc SERVER-55826 Disallow $count accumulator in persisted pipelines unless FCV is 5.0 or greater 2021-04-15 15:52:49 +00:00
Jordi Serra Torrens
75a91976cb SERVER-55636: Add the parameter to the setFCV command to make it support 2-Phases 2021-04-14 13:44:53 +00:00
Ted Tuckman
0f35984965 SERVER-54694 Register $setWindowFields with min FCV 2021-04-09 17:02:15 +00:00
Pavi Vetriselvan
f1ac83b03c SERVER-54829 Avoid crashing during kUpgrading/kDowngrading state if config has incompatible field name 2021-04-08 18:25:51 +00:00
Jon Streets
a1379caecb SERVER-54434 Update FCV constants to recognize 5.0 as latest 2021-04-07 15:33:23 +00:00
Pavi Vetriselvan
73abf8b8a5 SERVER-55715 delay_secs_field_changes_on_upgrade_downgrade.js should account for downgrading to 4.9 2021-04-07 13:33:49 +00:00
Jordi Serra Torrens
6b9ca9f2f2 SERVER-55811: upgrade_downgrade_sharded_cluster.js does not properly check the upgrade from lastContinuous (4.9) to latest (5.0) 2021-04-06 14:24:43 +00:00
Ian Boros
3042e41638 SERVER-55765 Disable FCV 4.9 tests for date* expressions 2021-04-05 16:11:38 +00:00
Arun Banala
4ef2c85a15 SERVER-54712 createIndexes should not permit 'weights' for non-text indexes 2021-03-30 11:17:56 +00:00
Mindaugas Malinauskas
16be56f8d5 SERVER-54390 Implement $dateTrunc in DocumentSource execution 2021-03-22 11:29:08 +00:00
Pavi Vetriselvan
04834a1396 SERVER-55304 downgrade_shard_server_with_secondaryDelaySecs.js should skip fastcount during validate 2021-03-19 15:31:17 +00:00
Pavi Vetriselvan
90a4e42dfa SERVER-54962 Test downgrading a shard server binary with secondaryDelaySecs 2021-03-16 23:03:28 +00:00
Pavi Vetriselvan
179b832e79 SERVER-54908 Allow new 4.9 shard servers in FCV 4.4 to use secondaryDelaySecs 2021-03-05 23:34:34 +00:00
David Percy
8641dd510c SERVER-54233 Implement $derivative window-function executor 2021-03-04 22:11:37 +00:00
Sergi Mateo Bellido
d907f3a145 SERVER-54820 Complete TODO listed in SERVER-53104 2021-03-03 09:16:03 +00:00
Cheahuychou Mao
490610170b SERVER-54886 Add recipient migration state and TenantMigrationAccessBlocker state to tenant_migration_test.js 2021-03-03 03:15:53 +00:00
Yoonsoo Kim
8865b969a8 SERVER-47657 Added unique and sparse to index signature 2021-03-03 02:55:02 +00:00
Sergi Mateo Bellido
392c79b60b SERVER-54790 Remove the 'allowMigrations' flag from config.collections when 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.
2021-03-02 15:02:46 +00:00
Jordi Serra Torrens
0896bff571 SERVER-54808: coll_timestamp_test.js should use mongos to query config.collections instead of contacting the configsvr primary directly 2021-02-26 19:20:20 +00:00
Sergi Mateo Bellido
718039b573 SERVER-53104 Ensure all shard-local cache collections of config.collections 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
2021-02-26 09:35:09 +00:00
Sergi Mateo Bellido
d1a3ee71e8 SERVER-54690 Review migration_between_mixed_FCV_mixed_version_mongods.js test
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.
2021-02-25 08:07:38 +00:00
Samy Lanka
d9f77934c1 SERVER-53953 Use safe reconfigs for setFCV command 2021-02-23 04:18:27 +00:00
Sergi Mateo Bellido
b5df664d6e SERVER-54630 Remove tests that create a standalone instance of a config server 2021-02-22 08:39:01 +00:00
Jordi Serra Torrens
822232665b SERVER-54132: Review usages of config.collections 'dropped' field 2021-02-19 15:03:26 +00:00
Ted Tuckman
9ebdcb19f2 SERVER-50778 Compare array indexes numerically for updates 2021-02-12 16:58:11 +00:00
Vesselina Ratcheva
3734d30a06 SERVER-53823 Move multiversion tenant migration tests into correct directory 2021-02-12 01:42:46 +00:00
Sergi Mateo Bellido
29a838f919 SERVER-53104 Ensure all shard-local cache collections of config.collections contain timestamps after upgrade
- Modifying the loader to properly handle metadata format changes in
  Collections & Databases
2021-02-09 09:34:14 +00:00
Ali Mir
23d20aefc2 SERVER-53894 Ensure updateFeatureCompatibilityVersionDocument() is idempotent 2021-02-05 08:23:01 +00:00
Jordi Serra Torrens
522299492a SERVER-53105: Target chunks by collectionUUID 2021-02-01 10:47:03 +00:00
Ali Mir
35a6a97338 SERVER-50423 Change memberConfig's slaveDelay field to secondaryDelaySecs 2021-01-28 04:26:57 +00:00
Sergi Mateo Bellido
27fac67b45 SERVER-52638 Remove leftovers from the upgrade process of 4.2 to 4.4 in the set feature compatibility version command 2021-01-23 09:57:45 +00:00
Jordi Serra Torrens
f3617ccb88 SERVER-53105: Amend tests that target config.chunks by ns to target by ns or uuid depending on collection timestamp 2021-01-22 10:25:46 +00:00
Pierlauro Sciarelli
9b96288613 SERVER-53825 Range deletions collection must not be dropped on downgrade to v4.4 2021-01-21 14:23:20 +00:00
Sergi Mateo Bellido
efa6daec5a SERVER-53867 Add/Remove timestamp to docs on config.chunks when upgrading/downgrading 2021-01-21 13:56:22 +00:00
Sergi Mateo Bellido
67063129d4 SERVER-53772 Create feature flag for timestamp based collection/database UUID
Renaming the generic feature guard by the metadata feature guard in some
tests
2021-01-19 14:22:54 +00:00
Pavi Vetriselvan
3a4dda6f0d SERVER-53247 Remove EMRC=false targeted jstests/unittests 2021-01-14 16:24:05 +00:00
Pavi Vetriselvan
c061668218 SERVER-53722 Add upgrade/downgrade coverage for eMRC=false 2021-01-13 20:56:29 +00:00
Milena Ivanova
350b31052a SERVER-51664 Implement $dateAdd and $dateSubtract in DocumentSource execution 2021-01-12 10:48:11 +00:00
Mihai Andrei
dae67dbc6d SERVER-53554 Relax replica set member assertions in delete_haystack_indexes_on_upgrade.js 2021-01-08 19:21:46 +00:00
Jordi Serra Torrens
ba633521a7 SERVER-52767: Handle collectionUUID in config.chunks on upgrade/downgrade 2020-12-10 14:01:44 +00:00
Mikhail Shchatko
7fb2d59296 SERVER-39859 Use the Evergreen REST v2 API to download -latest tarballs in setup multiversion mongodb 2020-12-08 07:43:26 +00:00
Jason Chan
d92d9ef007 SERVER-53246 Wait for secondaries to finish setting FCV before checking state in do_upgrade_downgrade.js 2020-12-08 00:55:23 +00:00