Commit Graph

35 Commits

Author SHA1 Message Date
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
91b24be9ce SERVER-50408 Change NotMaster error name to NotWritablePrimary
(cherry picked from commit 783e113bbb)
2020-09-30 22:37:31 +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
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
0b9f132bd6 SERVER-47219: Ensure downgrade_after_rollback_via_refetch only downgrades after clean shutdown. 2020-04-17 02:28:44 +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
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
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
Mark Benvenuto
63d946bd42 SERVER-46235 Re-enable multiversion tests 2020-02-24 05:39:45 +00:00
Nicholas Zolnierz
14240d538a SERVER-45540 Gate $unionWith behind FCV check and test upgrade/downgrade 2020-02-18 16:33:39 +00:00
Suganthi Mani
02ce213b40 SERVER-37390 Run rollback test fixture with high election timeout to
avoid any unplanned election.
2020-01-03 17:41:39 +00:00
David Percy
82fb9653c6 SERVER-33582 Add $bsonSize expression 2019-12-12 17:19:40 +00:00
Anton Korshunov
995798094a SERVER-12335 indexKey $meta projection not populating fields 2019-11-28 13:46:53 +00:00
Anton Korshunov
bc26f68ff0 SERVER-42905 Push down user-specified projections to PlanStage layer if possible 2019-10-31 15:46:48 +00:00
Anton Korshunov
f8ede369fb SERVER-42462 Put new $meta arguments behind FCV check 2019-10-17 13:03:40 +00:00
Cheahuychou Mao
150406020c SERVER-38884 Update multiversion tests to reflect use shards as replica sets in 4.2 onwards 2019-10-08 18:11:41 +00:00
Jason Chan
21ca406e36 SERVER-42761 Move feature_compatibility_version.js into src/mongo/shell 2019-09-09 22:39:39 +00:00
Misha Tyulenev
174736c49e SERVER-43017 wait in an integration test for setFCV to propagate to all config server nodes. 2019-09-05 18:09:11 +00:00
Bernard Gorman
6a2c556dfa SERVER-41230 Update FCV constants throughout server code following 4.2 branch
SERVER-42162 Update Execution-related generic upgrade/downgrade references
SERVER-42642 Update Replication-related generic upgrade/downgrade references
SERVER-42592 Update Sharding-related generic upgrade/downgrade references
SERVER-42794 Update Query-related generic upgrade/downgrade references
SERVER-41545 Bump wire protocol version for 4.4
2019-08-23 08:51:06 +01:00
James Wahlin
39c3a5d77b SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked() 2019-08-14 13:52:59 +00:00
Gregory Wlodarek
ccf8a4f2de SERVER-41696 Modify tests depending on the 'ns' field from index specs to no longer have a dependency on it 2019-07-29 21:05:17 -04:00
clang-format-7.0.1
134a408395 SERVER-41772 Apply clang-format 7.0.1 to the codebase 2019-07-27 11:02:23 -04:00
Xiangyu Yao
8e4f280e49 SERVER-39471 Remove unique index FCV upgrade codepath 2019-07-10 18:39:02 -04:00
Max Hirschhorn
12688726db SERVER-41227 Bump binVersion="last-stable" to be MongoDB 4.2.
Also removes multiversion tests for MongoDB 4.2 features. They will
continue to live on in the 4.2 branch.
2019-06-10 12:34:19 -04:00
nehakhatri5
44c2055cba SERVER-37555 Fix the error code in the uassert. 2018-10-16 13:20:06 +11:00
nehakhatri5
9693ebbdb9 SERVER-37555 Abort of collMod need not refreshEntry for index on rollback. 2018-10-16 08:33:27 +11:00
Louis Williams
796d1d1522 SERVER-36478 Use user-provided wtimeout for setFCV command 2018-10-10 15:26:32 -04:00
Louis Williams
f899002aad SERVER-36208 Remove repairDatabase server command and shell helper 2018-08-13 13:10:34 -04:00
Sulabh Mahajan
0dea042ec8 SERVER-34954 Add test to check unique indexes on a newly added --shardsvr node 2018-08-09 14:04:46 +10:00
nehakhatri5
4e57f57add SERVER-34489 Enable timestamp safe unique indexes via FCV. 2018-08-06 15:51:51 +10:00
Dewal Gupta
05bb1bc946 SERVER-33271 Move version non-specific FCV tests in jstests/multiVersion to jstests/multiVersion/genericSetFCVUsage 2018-07-20 17:06:05 -04:00