Randolph Tan
e14a61c789
SERVER-22665 Separate mixed version test logic to multiVersion suite
...
for shard aware js tests
2016-08-11 13:34:24 -04:00
James Wahlin
97c43492de
SERVER-24506 listCollections support for views
2016-07-19 10:10:43 -04:00
Judah Schvimer
abf863ca0f
SERVER-24718 wait for nodes to agree on primary in tags.js
2016-06-27 15:49:17 -04:00
Kaloian Manassiev
b6abb408c1
SERVER-24603 Re-enable auth tests in 'sharding_last_stable_mongos'
...
This change makes auth tests with 3.2 mongos, which need to control the
balancer state to go through a special control mongos instance running
version 3.4.
This reverts commit bfde0ecb1c .
2016-06-20 22:15:57 -04:00
David Storch
5f812b5da3
SERVER-23761 on MMAPv1, set data file version bit for collation
...
The bit gets set when an index or collection with a collation is
created. This prevents downgrade for users who have indices or
collections with associated collations. Analogous to 8ca23764d4 ,
but for the MMAPv1 storage engine.
2016-06-16 15:52:22 -04:00
Kaloian Manassiev
4c98927f26
SERVER-22672 Move the sharding balancer to the CSRS primary
...
This change moves the sharding balancer to run on the primary of the CSRS
config server and removes it from the mongos instances.
2016-06-15 11:05:53 -04:00
David Storch
8ca23764d4
SERVER-23761 set NR feature bit for collation
...
This will ensure downgrade fails after creating collections or indices
with a non-simple collation.
2016-06-15 09:58:59 -04:00
Max Hirschhorn
418cd1ed69
SERVER-24095 Set feature bit for path-level multikey tracking.
...
If no feature has already been marked as in-use, then creating a new
index will also cause a feature document to be inserted into the
KVCatalog. Versions of MongoDB earlier than commit
f242be85e8 will fail to start up as a
result.
2016-05-31 13:31:34 -04:00
Mark Benvenuto
6dcdd23dd3
SERVER-23971 Clang-Format code
2016-05-28 17:55:12 -04:00
Randolph Tan
756d6ee26b
SERVER-24087 Make sure config servers are caught up after ShardingTest starts up
2016-05-18 13:44:23 -04:00
Andy Schwerin
56a903eb64
SERVER-23299 Add an arbiter to server-23299-1.js test, to remove flaky behavior.
...
The multiversion suite's replica set upgrade logic expects sets to have
at least three nodes. Add an arbiter so this test can use said upgrade logic
reliably.
2016-04-13 09:54:20 -04:00
Andy Schwerin
07c2cd5b87
SERVER-23547 Make the multiversion concept of "latest" more precise.
...
This supports multiversion tests involving subversions, like 3.2.1 compared to 3.2 latest.
2016-04-07 09:41:39 -04:00
Andy Schwerin
5e11e4484b
SERVER-23299 When starting mongod, clear temp flags from collections if appropriate.
...
See the description in SERVER-23299 for the definition of appropriate.
2016-04-04 19:01:43 -04:00
Mike Grundy
1be713cebb
SERVER-23067 Final round of JS linting and formatting
2016-03-18 17:10:31 -04:00
Eric Milkie
ebf68ba092
SERVER-23148 patch multi_rs.js to ensure replSetMaintenance command succeeds
2016-03-15 16:26:07 -04:00
Esha Maharishi
25b851b56e
SERVER-22942 enable dumprestore_sharded.js test now that readMode and writeMode in the multiversion suite are default not legacy
2016-03-14 16:26:55 -04:00
Esha Maharishi
ab13ba2b6c
SERVER-22514 change readMode and writeMode to default from legacy in multiversion suite
2016-03-14 15:43:57 -04:00
Esha Maharishi
701a3c9db1
SERVER-22761 re-enable last-stable in 2_test_launching_cluster.js now that last-stable=3.2
2016-03-14 13:23:26 -04:00
Judah Schvimer
0e293ac105
SERVER-23047 added awaitReplication after ShardingTest start in upgrade_cluster.js
2016-03-14 10:58:58 -04:00
Misha Tyulenev
eaef6254d3
SERVER-22320 remove SYNC option and SyncClusterConnection
2016-03-10 18:18:38 -05:00
Jonathan Abrahams
4ae691e8ed
SERVER-22468 Format JS code with approved style in jstests/
2016-03-09 12:18:14 -05:00
Misha Tyulenev
bc196517c4
SERVER-22318 remove SCCC support
2016-03-03 13:40:25 -05:00
Paul Pedersen
d80dd455a3
SERVER-17440 Remove references to textSearchEnabled command line option
2016-02-22 14:38:35 -08:00
Misha Tyulenev
543bf9945a
SERVER-22319 remove SCCC tests from testcases
2016-02-12 17:00:02 -05:00
Dianna Hohensee
e9a856d0fe
SERVER-22517 copy migration_session_id.js from 3.2 branch into master, generalizing it to test migrations between mixed version mongods
2016-02-10 14:51:54 -05:00
Mike Grundy
2e4ca677b4
SERVER-22341 fix jslint errors in jstests/multiVersion/minor_version* with eslint --fix
2016-02-09 15:41:00 -05:00
Mike Grundy
2689df80fa
SERVER-22341 fix jslint errors in jstests/multiVersion with eslint --fix
2016-02-05 15:00:50 -05:00
matt dannenberg
2c2e6a38f5
SERVER-22276 SERVER-22277 implement "j" flag in write concern apply to secondary as well as primary
2016-02-04 11:22:18 -05:00
Randolph Tan
5f27647953
SERVER-22282 Update multiVersion/upgrade_cluster to reflect new upgrade procedure
2016-02-02 10:46:52 -05:00
Max Hirschhorn
ffe490c80e
SERVER-11064 Stricter validation of index key patterns.
...
Each value in the index key pattern must be one of the following:
- a number > 0 (ascending)
- a number < 0 (descending)
- a string (special index type)
Since the key pattern is validated on startup for all existing indexes,
mongod will fail to start up if an index not meeting the above criteria
exists.
Additionally, if an index with an invalid key pattern is replicated from
an older version, then newer versions of mongod running in a
mixed-version replica set will fassert().
2016-01-27 10:33:12 -05:00
Jonathan Reams
9db9a38229
SERVER-20838 stopMongod should throw if mongod exits abnormally
2016-01-19 11:17:30 -05:00
Jonathan Abrahams
6103d41215
SERVER-21925 Update mutliversion tests to use 3.2
2016-01-13 23:13:00 -05:00
Jonathan Abrahams
42161c2622
SERVER-20519 Set random seed, assert if seed not set and random function is invoked.
2015-12-31 10:22:29 -05:00
David Storch
711ee0acc5
SERVER-21637 add a test for 3.2 shell / 3.0 server find compatibility
2015-12-08 12:38:17 -05:00
Randolph Tan
d954a344c1
SERVER-21487 Add new suite for running 3.2 SCCC cluster with 3.0 mongos against jstests/sharding
2015-11-20 06:22:14 -05:00
Misha Tyulenev
6ff0dce6e0
SERVER-20651 do not allow mongos connect to mongod if mongod does not support COMMAND protocol
2015-11-19 18:17:02 -05:00
Kevin Pulo
0c8b0d57c7
SERVER-12746: Fix assert() calls with constant-value args
...
These calls were mostly mistakes that should have been assert.eq().
assert() will now trip if passed a non-string msg, or too many params.
2015-10-30 20:35:28 +11:00
Kaloian Manassiev
38e5c4febb
SERVER-21009 Get rid of some unused/unnecessary methods in ShardingTest
...
Removes shardGo in lieu of shardColl and removes setBalancer because it
duplicates functionality, which is already in sh.
2015-10-27 08:24:24 -04:00
Charlie Swanson
13b252e734
SERVER-20917 Remove concept of "oldest-supported" from multiversion suite
...
This was only being used in one place, to test that we could start a 1.8
mongod.
2015-10-14 13:53:11 -04:00
Charlie Swanson
fa0ea5f7e9
SERVER-20414 Instruct 2.4 processes to disable an unneeded httpinterface
...
The httpinterface parameter is on by default in 2.4 and before, but is not
needed. Since it uses a hardcoded port, it interferes with running the tests
in parallel, and should be disabled.
2015-10-13 18:12:11 -04:00
matt dannenberg
d789bca4c9
SERVER-18498 New replica set configurations have protocolVersion=1 by default
...
This re-adds Siyuan's work from commits 19d2885ec5 and 362aac3937 .
2015-10-01 08:00:10 -04:00
Adam Midvidy
411e981007
SERVER-20652 remove pseudocommand downconversion code in mongos
2015-09-26 11:57:13 -04:00
Jason Rassi
19d2885ec5
Revert "SERVER-18498 New replica set configurations have protocolVersion=1 by default"
...
This reverts commit 2c1facf471 .
2015-09-24 11:16:32 -04:00
Siyuan Zhou
2c1facf471
SERVER-18498 New replica set configurations have protocolVersion=1 by default
2015-09-23 14:50:56 -04:00
Andy Schwerin
bf22ad124a
SERVER-19696 Change js tests that use mongod nodes as config servers to pass --configsvr.
...
All nodes used as config servers should be started with --configsvr, and
this will be enforced in upcoming changes.
2015-09-23 12:54:23 -04:00
Eric Milkie
c1fafb61fb
SERVER-20444 update multiversion tests still using 2.6
2015-09-17 09:57:28 -04:00
Andreas Nilsson
d9a98b8517
SERVER-19721 Restore the authSchemaUpgrade command
...
Fixed mongos rebase error for catalogManager(txn)
2015-09-08 10:47:48 -04:00
matt dannenberg
650871daad
Revert "SERVER-20134 Restore the authSchemaUpgrade command"
...
This reverts commit 7a3fa1f56d .
2015-09-08 04:25:43 -04:00
Andreas Nilsson
7a3fa1f56d
SERVER-20134 Restore the authSchemaUpgrade command
2015-09-07 20:50:11 -04:00
Kamran Khan
5d76623abc
SERVER-20098 Fix duplicate property definition in multiVersion test helper
...
Previously, only regex literals were tested due to the duplicate definition.
Now, regex literals and regex objects are tested.
2015-08-26 00:34:12 -04:00