Commit Graph

164 Commits

Author SHA1 Message Date
XueruiFa
1809b6dfc2 SERVER-76005: Fix evergreen redness post 7.1 FCV upgrade 2023-04-12 20:03:14 +00:00
Huayu Ouyang
9627a17a45 SERVER-75000 Update replication-related tests in genericSetFCVUsage to test the downgrading state 2023-04-12 01:14:58 +00:00
Jiawei Yang
456df07b98 SERVER-74810 add restart downgrading FCV test 2023-04-06 02:55:42 +00:00
XueruiFa
5102cb6e06 SERVER-64917: Enable featureFlagDowngradingToUpgrading 2023-03-30 03:26:43 +00:00
Jack Mulrow
dd13320fec SERVER-71962 Support a catalog shard enabled config server in setFCV 2023-03-29 06:27:32 +00:00
Tausif Rahman
69430bd784 SERVER-61100 Fix multiversion tests that assert last-lts/last-continuous incompatibility 2023-03-29 01:11:10 +00:00
XueruiFa
126ce85a48 SERVER-73691: Require confirmation for upgrade/downgrade 2023-03-28 15:52:51 +00:00
XueruiFa
9b04490c27 SERVER-73648: Prohibit FCV downgrade to a rapid release 2023-03-24 22:41:10 +00:00
Jordi Serra Torrens
29dec97a71 SERVER-73778 Require all internal server data cleanup as part of FCV downgrade be completed before allowing transition to kUpgraded for sharded clusters 2023-03-20 11:11:28 +00:00
Suganthi Mani
8604298838 SERVER-73397 New shard merge recipient POS instance, along with test changes. 2023-03-17 04:11:13 +00:00
Huayu Ouyang
5a72d04c95 SERVER-74282 Require all internal server data cleanup be completed before allowing transition to upgraded for replica sets 2023-03-14 04:45:15 +00:00
Militsa Sotirova
1322159a59 SERVER-72836 Adding USER_ROLES variable and tests 2023-03-01 00:58:25 +00:00
XueruiFa
6f20776084 SERVER-73647: Remove downgradeOnDiskChanges flag 2023-02-17 21:13:06 +00:00
Charlie Swanson
157657ee0a SERVER-72517 feature flag testing robustness 2023-02-14 04:30:07 +00:00
Matt Broadstone
f846df62b5 SERVER-72577 Convert tenant migrations tests to use es modules 2023-01-10 19:49:44 +00:00
auto-revert-processor
1d37ab71d4 Revert "SERVER-72577 Convert tenant migrations tests to use es modules"
This reverts commit 9c2d2f716d.
2023-01-10 05:28:35 +00:00
Matt Broadstone
9c2d2f716d SERVER-72577 Convert tenant migrations tests to use es modules 2023-01-09 21:45:19 +00:00
Didier Nadeau
c5c19f011f SERVER-71260 Add tenantIds parameter to donorStartMigration 2022-12-09 05:16:24 +00:00
Tommaso Tocci
2041a8a461 SERVER-68888 Remove deprecated fields from config.version 2022-11-12 01:54:07 +00:00
Tommaso Tocci
1bbfe2237b SERVER-71097 Stop downloading 4.0 in multiversion suite 2022-11-11 19:44:45 +00:00
Huayu Ouyang
f410018aa8 SERVER-68143 Add rollback tests for downgrading to upgraded path 2022-09-01 15:40:10 +00:00
Alya Berciu
c604b24e27 SERVER-67908 Re-enable tests failing due to changing latest release to 6.0 2022-08-26 18:18:46 +00:00
Luxi Liu
c7ef5a02d1 SERVER-68651 Put isDowngrading to upgraded path under feature flag 2022-08-19 17:36:41 +00:00
Luxi Liu
4f09355fd0 SERVER-67946 added downgrading->upgrading path sharding tests 2022-08-19 15:04:15 +00:00
Evelyn Wu
c8bfab6325 SERVER-68144 Test startup with a node in downgrading state 2022-08-11 19:20:18 +00:00
Luxi Liu
2a13beec82 SERVER-67958 added downgrading->upgrading path, always generate new timestamp for configSvr, and test file 2022-08-08 17:33:11 +00:00
Pierlauro Sciarelli
2bddb8f08f SERVER-68511 MovePrimary update of config.databases entry must use dotted fields notation 2022-08-04 18:11:25 +00:00
Gregory Wlodarek
f442499603 SERVER-67906 Remove downgrade test for secondary indexes on time-series measurements 2022-07-25 18:54:30 +00:00
Abdul Qadeer
0d5fd57f9e SERVER-61985 SERVER-67193 Make reshardingPauseCoordinatorBeforeCompletion failpoint pause conditionally 2022-07-18 12:08:05 +00:00
Antonio Fuschetto
d0160b53cd SERVER-61072 Remove MigrationRecipientCriticalSection feature flag 2022-07-11 07:58:24 +00:00
Pierlauro Sciarelli
1c37b0952c SERVER-67150 Remove outdated orphans tracking testing from upgrade_downgrade_sharded_cluster.js 2022-06-09 10:41:34 +00:00
David Bradford
0a861695ec SERVER-66962: multiversion configuration updates 2022-06-02 19:25:09 +00:00
Allison Easton
3f546e227d SERVER-57417 Enable NoMoreAutoSplitter Feature flag 2022-06-02 13:55:49 +00:00
Charlie Swanson
69c6a3d495 SERVER-65933 Enable creation of columnstore index
Adds a new feature flag which must be enabled to create one.
2022-05-03 18:08:50 +00:00
Sanika Phanse
eea1c78a00 SERVER-65702 upgradeCluster in multi_cluster.js incorrectly used to downgrade sharded clusters. 2022-05-02 22:57:27 +00:00
XueruiFa
e8bfbec951 SERVER-65585: Prepare tests for FCV upgrade 2022-04-18 20:06:09 +00:00
Pavi Vetriselvan
5f3e71f071 SERVER-65226 do_upgrade_downgrade.js should correctly split namespaces 2022-04-15 21:18:01 +00:00
Paolo Polato
bc35bf3473 SERVER-64171 Resize Cluster Chunks when downgrading to 5.x 2022-04-12 02:17:11 +00:00
Pavi Vetriselvan
3ffd0984dd SERVER-65225 Don't drop clustered indexes in do_upgrade_downgrade.js 2022-04-11 18:39:46 +00:00
Brett Nawrocki
0425d81490 SERVER-65047 Strengthen guarantees for resharding aborting across FCVs
Previously, resharding operations were aborted after sending the request
to finalize the FCV version on the shards when upgrading, making it is
possible that a resharding recipient will update its FCV to its target
value prior to aborting. It was therefore not possible to differentiate
a resharding operation that has upgraded to the latest version since
starting from one that has been the latest version throughout. For this
reason, the resharding operations are now aborted first.

Furthermore, the resharding command currently ensures that the FCV
cannot change while setting up the coordinator. However, it did not
check to make sure that the current FCV is not currently in an upgrading
or downgrading state. After making the above change, this would allow
for the possibility for a new resharding operation to begin during an
FCV upgrade, after resharding operations are aborted, but before the
shards complete the FCV upgrade. This would have the consequence of the
operation running across FCVs without being aborted. As such, the
reshard command now fails if the current FCV is either upgrading or
downgrading.

These changes in combination should guarantee that during a version
change, a new resharding operation cannot begin and a previously running
resharding operation always aborts completely before reaching the target
version. Note that it is still possible for a resharding operation to
reach an upgrading or downgrading FCV before being aborted.

These changes were made in the interest of being able to assert that
newly added optional fields that should always be set were indeed set.
As such, this change also enables the assertion disabled by
SERVER-65039.
2022-04-01 22:02:53 +00:00
Allison Easton
9022ee2c14 SERVER-64163 Synchronize orphans tracking upon upgrade/downgrade with ongoing migrations 2022-03-30 13:06:51 +00:00
XueruiFa
9b6d19aa8c SERVER-64636: Ensure that unsupportedOldFCV is still too old in the future git tag variant 2022-03-22 22:36:10 +00:00
Tommaso Tocci
7594b5990a Revert "SERVER-64163 Synchronize orphans tracking upon upgrade/downgrade with ongoing migrations"
This reverts commit 2e63d56d8f.
2022-03-22 16:31:43 +00:00
Allison Easton
2e63d56d8f SERVER-64163 Synchronize orphans tracking upon upgrade/downgrade with ongoing migrations 2022-03-22 11:50:09 +00:00
A. Jesse Jiryu Davis
76a2683fd0 SERVER-63397 Abort all index builds during shard merge 2022-03-10 13:34:05 +00:00
Pierlauro Sciarelli
508308a2cd SERVER-64343 Integration tests for orphans tracking during upgrade/downgrade 2022-03-10 10:33:39 +00:00
trahman1318
e9a3d471b8 SERVER-60211 Structure targeted multiversion JS test directories 2022-02-02 20:13:31 +00:00
A. Jesse Jiryu Davis
258ceaa9a9 SERVER-60684 Tag serverless tests 2022-01-28 23:31:17 +00:00
A. Jesse Jiryu Davis
541e9288b7 SERVER-62352 Post-5.2 fixes for shard merge tests 2022-01-26 13:35:21 +00:00
jonstreets
ee8a689161 SERVER-61671 temporarily remove tests for FCV 5.3 2021-12-23 21:26:13 +00:00