Commit Graph

149 Commits

Author SHA1 Message Date
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
Zituo Jin
8b0819392f SERVER-61296 Remove obsolete TODOs 2021-11-16 14:57:55 +00:00
Suganthi Mani
7f89e2f0ed SERVER-59495 Donor and recipient tenant migration state machines will persist the migration protocol info and tenantId info will be an empty string for 'Merge' protocol." 2021-11-09 20:55:12 +00:00
Gregory Wlodarek
e47af06d2f Revert "SERVER-59495 Donor and recipient tenant migration state machines will persist the migration protocol info and tenantId info will be an empty string for 'Merge' protocol."
This reverts commit bbc96fbba2.
2021-11-04 23:32:41 +00:00
Suganthi Mani
bbc96fbba2 SERVER-59495 Donor and recipient tenant migration state machines will persist the migration protocol info and tenantId info will be an empty string for 'Merge' protocol. 2021-11-02 20:53:19 +00:00
Sergi Mateo Bellido
30a0b6165d SERVER-60834 new migration protocol setFCV requirements 2021-11-01 12:13:26 +00:00
Vesselina Ratcheva
7b27276ea7 SERVER-60935 Fix disabled repl tests failing due to changing latest release to 5.2 2021-10-30 02:49:20 +00:00
ali-mir
f094005b0b SERVER-60869 Re-add logic to set feature compatibility version on arbiters 2021-10-25 17:19:55 +00:00
Jon Streets
0273057add SERVER-60490 Update FCV constants to recognise 5.2 as latest 2021-10-20 17:23:11 +00:00
Zituo Jin
35558f7233 SERVER-50389 Support generating mixed version set containing last-continuous randomly in ReplSetTest/ShardingTest 2021-10-09 01:21:35 +00:00
LaMont Nelson
c5b030f123 SERVER-60421 raise the log level when removing nodes from sdam topology or ignoring messages 2021-10-05 16:24:00 +00:00
Luis Osta
292f846169 SERVER-59716 Removed "disabled_due_to_server_58295" tag from add_invalid_shard 2021-09-20 18:30:48 +00:00
Luis Osta
d8634cee81 SERVER-59716 Re-enable Sharding tests with the "disabled_due_to_server_58295" tag 2021-09-09 20:52:11 +00:00
Simon Gratzer
8c4c466acd Revert "SERVER-59716 Removed usage of "disabled_due_to_server_58295" tag" 2021-09-09 09:24:10 +00:00
Luis Osta
b923a3440e SERVER-59716 Removed usage of "disabled_due_to_server_58295" tag 2021-09-08 20:33:00 +00:00
Mickey. J Winters
9e6b4a60f9 SERVER-58354 Re-enable query tests disabled_due_to_server_58295 2021-09-07 19:25:28 +00:00