Commit Graph

620 Commits

Author SHA1 Message Date
Lingzhi Deng
936b49351e SERVER-50585: Create set_fcv_downgrade_on_disk_changes.js to include all test cases for downgradeOnDiskChanges behavior 2020-09-08 13:31:49 +00:00
Pavi Vetriselvan
783e113bbb SERVER-50408 Change NotMaster error name to NotWritablePrimary 2020-09-03 13:19:48 +00:00
Mindaugas Malinauskas
f5da4e4b7f SERVER-49499 Upgrade/downgrade behavior and testing for generating document validation errors 2020-08-31 12:08:32 +00:00
Daniel Gottlieb
9ced0d1888 SERVER-49890: Create resharding oplog view on startup. 2020-08-27 18:26:55 +00:00
Jason Chan
f014da8dc0 SERVER-50107 Add new lastContinuous upgrade/downgrade path to setFeatureCompatibilityVersion command 2020-08-20 22:37:18 +00:00
Mindaugas Malinauskas
2d4e4380f7 SERVER-38909 Permit empty update modifiers, treating as a no-op rather than an error 2020-08-19 09:18:06 +00:00
Jason Chan
91e3352a1a SERVER-49756 Add downgradeOnDiskChanges parameter to setFeatureCompatibilityVersion 2020-08-18 00:23:39 +00:00
Pavi Vetriselvan
e1daee88b3 SERVER-49996 Ensure getSiblingDB() is used instead of getSisterDB() 2020-08-17 16:11:37 +00:00
Ruoxin Xu
3d2c296df5 SERVER-47354 Implement change stream oplog parsing code for delta oplog entries 2020-08-13 23:17:09 +00:00
Gregory Wlodarek
7e329daf77 SERVER-50280 Remove 'supportsMajorityReadConcern' test helper function in favour of the 'requires_majority_read_concern' tag 2020-08-12 23:21:21 +00:00
Gregory Wlodarek
09ec1c660b SERVER-50280 Remove 'startSetIfSupportsReadMajority' test helper function in favour of the 'requires_majority_read_concern' tag 2020-08-12 23:21:21 +00:00
Cheahuychou Mao
3813db066f SERVER-49436 Change migrations_with_mixed_fcv.js test to reflect current FCV/migration interactions 2020-08-12 18:33:47 +00:00
Ian Boros
76ef32a944 SERVER-47729 retryable writes test for V2 delta updates 2020-08-11 15:08:53 +00:00
Lingzhi Deng
bbe29a4bf1 SERVER-49066: Extend generic targeted multiversion tests to include new mixed binary version configurations 2020-08-10 18:47:05 +00:00
Lingzhi Deng
7dde791c6f SERVER-50139: Abort repair on FCV initialization errors 2020-08-06 20:39:15 +00:00
Daniel Gottlieb
1e6511738d SERVER-21861: Prohibit Timestamp.prototype.toString via resmoke injection. 2020-08-05 01:43:59 +00:00
Jason Chan
9cfe13115e SERVER-49067 Extend genericChangeStreams multiversion tests to use "last-lts" and "last-continuous" 2020-08-03 15:45:52 +00:00
Lingzhi Deng
475078ffd9 SERVER-49783: Update latest FCV to 4.7 2020-08-02 05:39:29 +00:00
Ian Boros
388817e4b2 SERVER-47731 Add FCV check for $v:2 delta oplog entries 2020-07-31 16:56:59 +00:00
Jason Chan
25b594b233 SERVER-49068 Extend genericSetFCVUsage tests to use "last-lts" and "last-continuous" 2020-07-31 15:22:26 +00:00
Cheahuychou Mao
5e53ee3ca0 SERVER-49427 Delete pending_chunk.js and remove now-defunct code in the MetadataManager 2020-07-24 14:51:25 +00:00
Jason Chan
1c28b3cf02 SERVER-49064 Update references of "last-stable" to use "last-continuous" and "last-lts" 2020-07-23 12:26:49 +00:00
Louis Williams
d0e0220787 SERVER-48050 FCV should be initialized before attempting to restart in-progress index builds
* Refactored repairDatabaseAndCheckVersion by moving FCV logic into
  the FeatureCompatibilityVersion class
* Refactored repairDatabaseAndCheckVersion by separating procedures of
  regular recovery, read-only mode, and repair
* Renamed repairDatabaseAndCheckVersion to repairAndRecoverDatabases
* Moved startup recovery/repair free function into a 'startup_recovery' namespace
* Moved repair free functions into a 'repair' namespace.

renamed:    src/mongo/db/repair_database_and_check_version.cpp -> src/mongo/db/startup_recovery.cpp
renamed:    src/mongo/db/repair_database_and_check_version.h -> src/mongo/db/startup_recovery.h
renamed:    src/mongo/db/repair_database.cpp -> src/mongo/db/repair.cpp
renamed:    src/mongo/db/repair_database.h -> src/mongo/db/repair.h
2020-07-20 17:55:45 +00:00
Gregory Noma
2cf8cd3527 SERVER-43633 Prohibit user writes to system.views in FCV 4.6 2020-07-20 13:35:53 +00:00
Lingzhi Deng
5446d926d8 SERVER-49269: Add 'previousVersion' field to FCV document when in downgrading states 2020-07-15 20:07:53 +00:00
Arun Banala
b937b31a60 SERVER-49425 Use clusterTime from oplog in 'change_streams_read_oplog_after_downgrade.js' 2020-07-10 16:00:56 +00:00
Lingzhi Deng
98cf395c1e SERVER-49063: Update FCV 4.6 constants to 4.5.1 2020-07-09 16:26:41 +00:00
Arun Banala
c99b1e90a5 SERVER-49312 Improve logging in 'change_streams_read_oplog_after_downgrade.js' 2020-07-03 16:17:04 +00:00
Jenny Peshansky
9ebadf67aa SERVER-48568 Changed nopeOptions to nodeOptions when configuring the replica set 2020-06-24 13:53:43 +00:00
Randolph Tan
0987c120f5 SERVER-45959 Remove skipCheckOrphans flag in multiVersion suites after v4.4 2020-06-10 18:17:31 +00:00
Arun Banala
bacc717789 SERVER-45708 Add automated test for downgrading with change streams 2020-06-10 12:54:40 +00:00
Henrik Edin
d7e1821e22 SERVER-48350 Log cleanup in db/catalog, db/index and db/storage/kv 2020-06-01 13:04:42 +00:00
Esha Maharishi
d9533a4c00 SERVER-48263 Add multiversion test of disableResumableRangeDeleter flag 2020-05-26 20:11:36 +00:00
Bernard Gorman
8cb02c375a SERVER-47209 Account for rollback in change_streams_update_lookup_shard_metadata_missing.js 2020-05-21 13:40:43 +00:00
Nick Zolnierz
9d2b6fbbcc SERVER-48008 Remove doc_validation_encrypt_keywords.js multiversion test since backport made it before stable release of 4.4.0 2020-05-07 19:53:57 +00:00
Nick Zolnierz
f950ce6ca8 SERVER-47834 Add multiversion tests for collection validators with encryption-related keywords 2020-04-29 22:44:42 +00:00
Jason Chan
aeaad5e8fe SERVER-46931 Unblacklist/Update multiversion tests that expect "last-stable" to have a different fcv than "latest" 2020-04-29 22:22:48 +00:00
Misha Tyulenev
99d02eb325 SERVER-43511 remove unused global_snapshot_read_helpers.js 2020-04-29 21:44:03 +00:00
Jacob Evans
18edfccc40 SERVER-47414 Remove map_reduce_multiversion tests in favor of multiversion passthroughs 2020-04-29 16:00:56 +00:00
Ruoxin Xu
0f646164fd SERVER-47743 Remove all hidden index FCV checks and multiversion tests on master after backport 2020-04-28 19:57:45 +00:00
Daniel Gottlieb
417e36920a SERVER-47219: Leave a paper trail for when to forward port 0b9f132bd6 2020-04-28 15:35:56 +00:00
Bernard Gorman
085ffeb310 SERVER-25023 Allow multiple indexes on the same fields with different partial index filters 2020-04-25 20:23:43 +00:00
Arun Banala
f9fb5f85c6 SERVER-47316 Upgrade/downgrade testing for hidden indexes 2020-04-23 15:29:47 +00:00
Louis Williams
3b1f0257fe SERVER-46784 Reinstitute keystring_index.js as a generic multiversion test 2020-04-22 15:01:01 +00:00
Ali Mir
c593d0fb6e SERVER-46323 Update FCV constants throughout server code following 4.4 branch
SERVER-46589 Update Execution-related generic upgrade/downgrade references

SERVER-46587 Update Replication-related generic upgrade/downgrade references

SERVER-46839 Update Sharding-related generic upgrade/downgrade references

SERVER-46590 Update Query-related generic upgrade/downgrade references

SERVER-46318 Bump wire protocol version for 4.6

SERVER-46313 Bump Powercycle FCV
2020-04-22 00:15:51 +00:00
Cheahuychou Mao
e84cf820af SERVER-47560 Include "internalClient" field in ReplicaSetMonitor isMaster requests 2020-04-20 16:20:24 +00:00
Cheahuychou Mao
90968f34ca SERVER-43849 Write NotMaster error in upgrade_downgrade_cluster due to stale RS status in mongos
(cherry picked from commit a0482756e3)
2020-04-15 00:21:34 +00:00
Nick Zolnierz
350634304d SERVER-47231 In MR multiversion test, wait for the cluster to stabilize after upgrading 2020-04-08 19:08:51 +00:00
Kevin Pulo
b5cc51eb6f SERVER-46830 remove CWRWC FCV 4.4 code 2020-04-08 08:30:49 +00:00
Kaloian Manassiev
7bd5e658d2 SERVER-46830 Delete the multiversion test read_write_concern_defaults_set_fcv.js
This test exercises interaction between FCV 4.4 and FCV 4.2, therefore it shouldn't be in the 4.5 branch.
2020-04-06 11:52:45 +00:00