Commit Graph

598 Commits

Author SHA1 Message Date
Alex Taskov
913d6b62ac SERVER-53029 Port the changes for SERVER-52955 to later branches 2020-12-14 17:44:03 +00:00
Gregory Wlodarek
b45c07c617 SERVER-51333 setFeatureCompatibilityVersion fails when downgrading from FCV 4.4 to FCV 4.2 with long collection names present 2020-12-14 02:16:00 +00:00
Gregory Wlodarek
356ad03a6d Revert "SERVER-51333 setFeatureCompatibilityVersion fails when downgrading from FCV 4.4 to FCV 4.2 with long collection names present"
This reverts commit d1f0d546f2.
2020-12-10 20:11:41 +00:00
Gregory Wlodarek
d1f0d546f2 SERVER-51333 setFeatureCompatibilityVersion fails when downgrading from FCV 4.4 to FCV 4.2 with long collection names present 2020-12-10 17:27:33 +00:00
Ali Mir
2af1dd9d81 SERVER-51467 Set waitUntilStable to true when upgrading clusters in change_streams_multiversion_cluster.js
(cherry picked from commit 517e447020)
2020-10-19 20:14:30 +00:00
Tommaso Tocci
c9cb7ecc84 SERVER-48170 Multiversion tests assume primary stability when using upgradeCluster() with 2-node replica set shards
(cherry picked from commit 478bf480eb)
2020-10-03 06:49:00 +00:00
Pavi Vetriselvan
41b6e571e0 SERVER-50409 Change NotMasterNoSlaveOk error name to NotPrimaryNoSecondaryOk
(cherry picked from commit b1920ea0a4)
2020-09-30 22:37:31 +00:00
Pavi Vetriselvan
91b24be9ce SERVER-50408 Change NotMaster error name to NotWritablePrimary
(cherry picked from commit 783e113bbb)
2020-09-30 22:37:31 +00:00
Jack Mulrow
abeaf8f25e SERVER-50750 Write and test script to undo shard key refine with nested keys 2020-09-15 22:08:59 +00:00
Mihai Andrei
706d6b6fef SERVER-50051 Make jstests/multiVersion/hashed_index_bad_keys_cleanup.js more robust 2020-09-11 14:21:19 +00:00
Dianna Hohensee
81b55eb3f2 SERVER-49926 collMod should always validate the 'recordPreImages' user parameter 2020-09-09 02:36:05 +00:00
Gregory Noma
df5b9daec2 SERVER-50137 Use timestamp if wall field not present when calculating oplog stones
(cherry picked from commit 5be60b26dd)
2020-08-13 16:31:15 +00:00
Jenny Peshansky
27f5c1ee9f SERVER-48568 Changed nopeOptions to nodeOptions when configuring the replica set
(cherry picked from commit 9ebadf67aa)
2020-07-10 10:27:36 -04:00
Gregory Wlodarek
9f2697e773 SERVER-48621 userAllowedCreateNS() should check the collection name length in FCV4.4 2020-06-08 21:17:50 +00:00
Henrik Edin
779f9e866b SERVER-48350 Log cleanup in db/catalog, db/index and db/storage/kv
(cherry picked from commit d7e1821e22)
2020-06-05 17:27:44 +00:00
Bernard Gorman
ddda87df10 SERVER-47209 Account for rollback in change_streams_update_lookup_shard_metadata_missing.js
(cherry picked from commit 8cb02c375a)
2020-05-28 20:44:40 +00:00
Ruoxin Xu
cd9fbb5690 SERVER-48047 Do not generate "hidden" field in oplog if collMod "hidden" parameter is a no-op
(cherry picked from commit 4497a21aae)
2020-05-14 11:09:49 +00:00
Louis Williams
f61bcc1b3f SERVER-48054 On startup, upgrade all downgraded unique indexes to the latest format version 2020-05-13 17:07:54 +00:00
Nick Zolnierz
8a678a43ec SERVER-48035 Update doc_validation_encrypt_keywords.js multiversion test to run against a standalone 2020-05-13 14:31:50 +00:00
William Schultz
1c9a43aa1e SERVER-47691 Remove reliance on external dependencies in ReplSetTest
(cherry picked from commit be4fd3cca7)
2020-05-12 20:05:36 +00:00
Mihai Andrei
b208d3994a SERVER-47899 Configure ShardingTest used in merge_out_upgrade_downgrade.js to have a high election timeout 2020-05-11 14:02:37 +00:00
Ruoxin Xu
4e2e19c2c2 SERVER-47840 Do not write "hidden: false" to the index catalog when createIndexes specifies it explicitly
(cherry picked from commit bae19fea07)
2020-05-08 09:01:29 +00:00
Nick Zolnierz
2c0d99b3d7 SERVER-47834 Add multiversion tests for collection validators with encryption-related keywords
(cherry picked from commit f950ce6ca8)
2020-04-30 20:46:10 +00:00
Arun Banala
d94d399953 SERVER-47316 Upgrade/downgrade testing for hidden indexes
(cherry picked from commit f9fb5f85c6)
2020-04-27 11:01:47 +00:00
Bernard Gorman
dda2fb45cb SERVER-47344 Change agg_merge_upsert_supplied_cluster.js to avoid downgrade to 4.2.1 SERVER-47581 Set 'useNewUpsert' on $mergeCursors aggregations 2020-04-22 16:34:44 +00:00
Cheahuychou Mao
f6d2dfefec SERVER-47560 Include "internalClient" field in ReplicaSetMonitor isMaster requests
(cherry picked from commit e84cf820af)
2020-04-20 16:48:41 +00:00
Daniel Gottlieb
ba6cbcc3b1 SERVER-47425: Add multiversion test for 4.2classic, 4.2.6+ and 4.4 behaviors. 2020-04-17 02:40:38 +00:00
Daniel Gottlieb
0b9f132bd6 SERVER-47219: Ensure downgrade_after_rollback_via_refetch only downgrades after clean shutdown. 2020-04-17 02:28:44 +00:00
Robert Guo
2df1c86ec0 SERVER-46322 fix verify_versions_test.js for 4.4 2020-04-15 11:10:51 +00:00
Cheahuychou Mao
a0482756e3 SERVER-43849 Write NotMaster error in upgrade_downgrade_cluster due to stale RS status in mongos 2020-04-14 22:46:05 +00:00
Jamie Heppenstall
5547557ca3 SERVER-47491 Fix incorrect error code in multiVersion/long_collection_names.js 2020-04-14 19:10:43 +00:00
William Schultz
07e26ee1cf SERVER-47119 Initialize replica set shard server nodes without a ReplSetConfig term 2020-04-14 03:57:38 +00:00
Nick Zolnierz
34afbf478f SERVER-47231 In multiversion tests, wait for the cluster to stabilize after upgrading
(cherry picked from commit 350634304d)
2020-04-13 13:51:51 +00:00
William Schultz
880dd3e91f SERVER-47189 Do a reconfig on upgrade to FCV 4.4 to add a config term 2020-04-10 21:13:58 +00:00
Ruoxin Xu
c1d32bb7de SERVER-47159 Wait for cluster to stabilize after shard upgrade in 'agg_with_comment_during_upgrade.js' test 2020-04-01 13:40:08 +00:00
Alex Cameron
869d19299f SERVER-47126 Clean dbpath when downgrading arbiters in multiversion tests 2020-04-01 06:10:48 +00:00
Esha Maharishi
57a0dec2bc SERVER-44160 Make cleanupOrphaned just wait for all range deletion tasks on the ns to finish in FCV 4.4 when 'disableResumableRangeDeleter' is false
(cherry picked from commit 5ab0e5571a)
2020-03-30 15:47:35 +00:00
Jack Mulrow
57d5c7e6ce SERVER-46084 Don't use setUnion in aggregation for finding inconsistent sharded indexes
(cherry picked from commit 2eaf0ba58c)
2020-03-30 15:10:36 +00:00
Matthew Russotto
9e27006ec7 SERVER-46085 Fail initial sync attempt if sync source is in initial sync
(cherry picked from commit b70908c489)
2020-03-27 19:50:49 +00:00
Tess Avitabile
0b1bd1ac75 SERVER-46389 Improve replication log line style
(cherry picked from commit 759af0dcb8)
2020-03-27 17:56:51 +00:00
Mihai Andrei
7bff3f32f8 SERVER-45967 Upgrade/downgrade behavior and testing for $out/$merge on secondaries 2020-03-26 14:17:39 +00:00
Kevin Pulo
8cf9dacffc SERVER-45692 add explicit RWC to inter-node commands (even if merely kImplicitDefault)
(cherry picked from commit 747ff353cb)

SERVER-45692 uassert if mongod receives a command on an internalClient connection, which should have explicit RWC, but doesn't

(cherry picked from commit 165b01c12f)

SERVER-47043 Read concern set to default when it should be local

(cherry picked from commit ad5a5fd53f)
2020-03-26 09:35:13 +00:00
Kaloian Manassiev
aef2f4f5c6 Revert "SERVER-45692 add explicit RWC to inter-node commands (even if merely kImplicitDefault)"
This reverts commit 81c6113198.

We discovered that this commit introduces SERVER-47043, so it can't be
backported without it. Leaving all the backports for after 4.4.0-RC0 is
cut.
2020-03-24 14:12:59 +00:00
Kevin Pulo
81c6113198 SERVER-45692 add explicit RWC to inter-node commands (even if merely kImplicitDefault)
(cherry picked from commit 747ff353cb)
2020-03-24 05:52:44 +00:00
David Percy
4def5398d7 SERVER-46783 Mark $accumulator, $_internalJs operators as FCV 4.4 only 2020-03-20 20:37:41 +00:00
Daniel Gottlieb
97c1d0935d SERVER-46641: Limit collection names to 255 characters.
(cherry picked from commit 10b9987d9f)
2020-03-17 21:12:39 +00:00
A. Jesse Jiryu Davis
771398011b SERVER-46089 Test downgrade with arbiter
(cherry picked from commit ef959bbc8e)
2020-03-10 14:29:44 +00:00
Bernard Gorman
17e726581d SERVER-46124 Wait for shards to see each others' latest state in compound_hashed_shard_key.js
(cherry picked from commit c8007d0d95)
2020-03-05 13:01:37 +00:00
Siyuan Zhou
6c0645af59 SERVER-46288 Reconfig in 4.2 style with the current config on FCV downgrade
- Refactoring doReplSetConfig to accept a callback.
- Use replset tag system to wait for config replication.
- Revert kConfigMajority write concern.
- Include all nodes including arbiters in config replication quorum.
- Reconfig with term -1 using the current config on downgrade.
2020-02-29 00:02:40 +00:00
Ian Boros
edeec8b8fa SERVER-46427 update FCV test to account for lazy checking of collection validators 2020-02-27 04:01:43 +00:00