Commit Graph

723 Commits

Author SHA1 Message Date
Denis Grebennicov
6a731da34a SERVER-50454 Avoiding sending the "keyValue" field to drivers on duplicate key error 2021-05-20 15:41:28 +00:00
Randolph Tan
f38801670d SERVER-50694 Ensure that resharding operations have finished before beginning downgrade 2021-05-19 14:06:53 +00:00
Daniel Gottlieb
7fbf9380ae SERVER-56953: Allow testing for new-style retryable findAndModify for basic operations. 2021-05-19 02:34:25 +00:00
Daniel Gottlieb
3340c93c28 Revert "SERVER-56953: Allow testing for new-style retryable findAndModify for basic operations."
This reverts commit 162e0d14fe.
2021-05-18 16:57:00 +00:00
Gregory Noma
79b4b66a43 SERVER-56720 Ensure original primary steps back up in timeseries_retryable_write_downgrade.js 2021-05-18 13:30:42 +00:00
Daniel Gottlieb
162e0d14fe SERVER-56953: Allow testing for new-style retryable findAndModify for basic operations. 2021-05-18 02:58:27 +00:00
Gregory Noma
ef9f9abf5f SERVER-56927 Retry oplog check on CappedPositionLost error in timeseries_retryable_write_downgrade_oplog_rollover.js 2021-05-17 18:56:07 +00:00
Huayu Ouyang
5f03cd3d5c SERVER-55707 Test workflow we expect users to go through to migrate getLastErrorDefaults to CWWC 2021-05-14 20:48:39 +00:00
Huayu Ouyang
989723a08f SERVER-56241 Don't allow setting getLastErrorDefaults on startup/reconfig 2021-05-14 20:26:03 +00:00
Max Hirschhorn
1ab98f5e38 SERVER-56937 Restore authentication state before upgrading primary. 2021-05-14 19:28:56 +00:00
Dan Larkin-York
d766d30923 SERVER-56926 Temporarily disable timeseries_retryable_write_downgrade_oplog_rollover.js 2021-05-14 15:32:15 +00:00
Huayu Ouyang
e009f6a207 Revert "SERVER-56241 Don't allow setting getLastErrorDefaults on startup/reconfig"
This reverts commit f6b96a603d.
2021-05-13 19:52:18 +00:00
Huayu Ouyang
f6b96a603d SERVER-56241 Don't allow setting getLastErrorDefaults on startup/reconfig 2021-05-12 21:43:53 +00:00
Wenbin Zhu
1cb18cbb34 SERVER-55202 Add assertion if migration committed or aborted in TenantMigrationTest fixture. 2021-05-12 20:25:00 +00:00
Vesselina Ratcheva
a0c0b91d6c SERVER-53563 Cancel tenant migrations on FCV change (recipient side) 2021-05-12 08:20:51 +00:00
Huayu Ouyang
8951dcb477 Revert "SERVER-56241 Don't allow setting getLastErrorDefaults on startup/reconfig"
This reverts commit 942b6127ca.
2021-05-11 15:36:57 +00:00
Cheahuychou Mao
c6e8fed25e SERVER-56644 Create oplog views for resharding and tenant migration on startup 2021-05-10 21:52:52 +00:00
Huayu Ouyang
942b6127ca SERVER-56241 Don't allow setting getLastErrorDefaults on startup/reconfig 2021-05-10 19:18:24 +00:00
Huayu Ouyang
88da83eb34 Revert "SERVER-55707 Test workflow we expect users to go through to migrate getLastErrorDefaults to CWWC"
This reverts commit d4bea64d76.
2021-05-10 17:15:14 +00:00
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