Commit Graph

349 Commits

Author SHA1 Message Date
Maria van Keulen
ce3049c1ea SERVER-33003 Re-enable passing multiVersion tests 2018-02-02 15:31:03 -05:00
Maria van Keulen
00b93fd8f7 SERVER-32741 Initialize the featureCompatibilityVersion parameter value to 3.6 2018-02-01 18:18:32 -05:00
Vesselina Ratcheva
bff8e6e004 SERVER-31409 Create basic multi-version rollback Javascript test 2018-01-30 13:31:30 -05:00
Dianna Hohensee
ed71eca9e8 SERVER-32829 Update set_feature_compatibility_version.js and feature_compatibility_version.js for 3.6 / 4.0 FCV testing 2018-01-30 08:42:49 -05:00
Jack Mulrow
410d6cf705 SERVER-32463 Remove FCV dependent causal consistency code 2018-01-19 17:50:24 -05:00
Maria van Keulen
2158ea8d6c SERVER-32255 Ensure UUIDs exist for local collections on ShardServers 2018-01-04 18:24:08 -05:00
Maria van Keulen
6a6d6b8980 SERVER-31553 Remove outdated upgrade/downgrade test 2017-12-27 14:26:01 -05:00
Maria van Keulen
ef64713459 SERVER-32128 Disable upgrade/downgrade testing in set_schema_version.js 2017-12-27 11:48:08 -05:00
Sara Golemon
5a78180653 SERVER-32231 Remove MONGODB-CR 2017-12-19 00:31:11 -05:00
Sara Golemon
ee288a6ca2 SERVER-32340 Clean up dead logic for MongoDB 2.6 in multiVersion test suite 2017-12-18 13:09:50 -05:00
Kyle Suarez
2079d32e60 SERVER-31588 remove fCV 3.4 support in query/agg
Removes checks for featureCompatibilityVersion "3.4" related to query
features in the view catalog, aggregation document sources, and the
create and collMod commands.
2017-12-12 15:24:48 -05:00
Xiangyu Yao
2975b0dc56 SERVER-31553 Update multiversion tests on 3.6 2017-11-28 15:29:06 -05:00
Xiangyu Yao
9ab80a3861 SERVER-29453 Disallow removing featureCompatibilityVersion document and renaming collection 2017-11-22 11:37:25 -05:00
Jack Mulrow
aacd508f50 SERVER-31941 Don't run retryable writes tests with ephemeralForTest storage engine 2017-11-21 14:46:24 -05:00
Jack Mulrow
97af8701b5 SERVER-31941 Disallow retryable writes in storage engines that do not support document-level locking 2017-11-17 16:01:19 -05:00
Misha Tyulenev
ad803634c6 SERVER-30779 do not sign clusterTime in mongos when auth is off or user has advanceClusterTime privilege 2017-11-15 20:04:08 -05:00
Maria van Keulen
bf03a51f20 SERVER-31792 Generate UUIDs for config servers during initiate 2017-11-15 13:38:51 -05:00
Charlie Swanson
e37db69674 SERVER-31447 Use correct collation for update lookup 2017-11-15 10:53:49 -05:00
Max Hirschhorn
8e3fecc8bb SERVER-31553 Bump current version in verify_versions_test.js to 3.7. 2017-11-14 21:49:46 -05:00
Max Hirschhorn
b683d39549 Revert "SERVER-31447 Use correct collation for update lookup"
This reverts commit de0b160779.
2017-11-14 21:49:46 -05:00
Charlie Swanson
de0b160779 SERVER-31447 Use correct collation for update lookup 2017-11-14 17:20:02 -05:00
Xiangyu Yao
8adf3da41d SERVER-31895 applyOps should reject commands with UUIDs when in a fully-downgraded FCV 3.4 cluster 2017-11-14 11:02:38 -05:00
Xiangyu Yao
07c34da05d SERVER-31740 Make setFeatureCompatibilityVersion idempotent 2017-11-10 10:49:12 -05:00
Jason Carey
bf53cbe298 SERVER-31777 deactivate logical sessions for fcv34
For anything less than fully upgraded to 3.6:
* suppress logicalSessionTimeoutMinutes in isMaster
* fail any commands that passes lsid
2017-11-09 18:35:00 -05:00
Tess Avitabile
271879b7a6 SERVER-31631 Bump minimum outgoing wire version for mongod when featureCompatibilityVersion is 3.6 2017-11-09 09:39:44 -05:00
Max Hirschhorn
6d8e6b9cce SERVER-31296 Update sessions, causal, and retryable in the mongo shell.
* Removes the initialClusterTime and initialOperationTime session
    options.

  * Enables causal consistency by default when using an explicit
    session.

  * Adds a --retryWrites command line option to the mongo shell for
    enabling retryable writes in the mongo shell. The retryWrites
    options to SessionOptions is left for convenience with testing.

  * Renames setClusterTime() to advanceClusterTime(), and adds a
    corresponding advanceOperationTime() method to DriverSession.

  * Enables assigning transaction numbers for write commands where
    ordered=false.

  * Prevents the mongo shell from sending afterClusterTime or assigning
    transaction numbers when talking to a stand-alone mongod.

  * Prevents the mongo shell from assigning transaction numbers when
    using an unacknowledged (w=0) writeConcern.

  * Changes DBClientRS to re-discover the current primary of the replica
    set when it receives an error code representing "not master" in
    addition to an error message representing "not master".

  * Adds a shellPrint() pretty-printer for SessionOptions and
    DriverSession instances so they no longer print out their entire
    object definition.
2017-11-08 19:29:28 -05:00
Geert Bosch
45da08b125 SERVER-31783 Prevent secondaries from generating UUIDs during upgrade 2017-11-08 17:29:29 -05:00
Dianna Hohensee
82448e638f SERVER-29653 Drop admin.system.keys on CSRS downgrade from 3.6 fcv to 3.4 fcv 2017-11-07 09:29:57 -05:00
ADAM David Alan Martin
29769e9514 SERVER-31827 Wait for Secondary after stepdown.
The primary being told to step down will kill all incoming connections
during that stepdown process.  When this happens, connections which
are incoming may be closed before they can enter a state which
"reserves" them from closure.  To facilitate correct semantics in this
test, we should wait for the primary to completely step down to a
secondary, before trying to authenticate to it again.
2017-11-03 17:25:02 -04:00
Tess Avitabile
ba9fe259f5 SERVER-31633 If the featureCompatibilityVersion is 3.6, upgrading, or downgrading, respond to isMaster with minWireVersion=maxWireVersion 2017-10-27 16:24:18 -04:00
Judah Schvimer
b06ccf5d5e SERVER-31254 Fail initial sync if fCV targetVersion is set or if there is no fCV document 2017-10-27 11:20:14 -04:00
Daniel Gottlieb
09388643a6 SERVER-31611: Perform a clean shutdown and downgrade on an interpreted FCV 3.2.
There are a few cases where a 3.6 binary will refuse to start up because it
concludes the datafiles belong to a 3.2 mongod. In those cases, the server
must perform a clean shutdown that ensures datafiles are downgraded to a
format that older binaries can understand.
2017-10-27 09:13:06 -04:00
Tess Avitabile
23e886eebf SERVER-31630 getParameter for featureCompatibilityVersion must expose targetVersion 2017-10-25 12:18:07 -04:00
Tess Avitabile
5d4b316b24 SERVER-31634 FeatureCompatibilityVersion::setIfCleanStartup() should store FCV=3.4 for shardsvrs 2017-10-24 10:03:33 -04:00
Nick Zolnierz
ec7af3523d SERVER-17846: Forbid $isolated outside of update/delete user operations 2017-10-23 16:12:40 -04:00
James Wahlin
02ecda9fcd SERVER-31346 Disallow 3.6 query features in views under FCV 3.4 2017-10-20 17:06:06 -04:00
Maria van Keulen
e739ab399c SERVER-29452 Correctly obtain the UUID of a collection in setfcv test 2017-10-20 16:05:24 -04:00
Tess Avitabile
ddacafb225 SERVER-31531 featureCompatibilityVersion writes must check for writeErrors 2017-10-18 16:38:34 -04:00
Nathan Myers
aeabbf96ff SERVER-31191 Plumb Collection UUIDs through catalog cache 2017-10-17 14:07:38 -04:00
Spencer T Brody
8b9703b98b SERVER-31277 Cancel all user operations on heartbeat stepdown path 2017-10-16 18:05:08 -04:00
Maria van Keulen
c9ca12d30b SERVER-29452 Handle missing featureCompatibilityVersion document 2017-10-16 17:41:56 -04:00
Louis Williams
203ff7c010 SERVER-30242 SERVER-31513 SERVER-31235 Make method to determine if fCV has been initialized in memory. Make fCV state one atomic variable. Initialize fCV on arbiters once a primary is elected. 2017-10-16 12:39:30 -04:00
Max Hirschhorn
fa80e8fd37 SERVER-31558 Bump current version in verify_versions_test.js to 3.6. 2017-10-13 16:29:30 -04:00
Misha Tyulenev
662632bf21 SERVER-29792 upgrade / downgrade replica set tests for causal consistncy 2017-10-10 18:02:42 -04:00
Maria van Keulen
9e8cce334f SERVER-30131 Ensure collections on local have UUIDs 2017-10-09 19:13:46 -04:00
Maria van Keulen
9eba349099 Revert "SERVER-30131 Ensure collections on local have UUIDs"
This reverts commit 84690cb878.
2017-10-09 14:49:16 -04:00
Maria van Keulen
84690cb878 SERVER-30131 Ensure collections on local have UUIDs 2017-10-09 13:28:52 -04:00
Esha Maharishi
6787c13d49 SERVER-30793 merge setFeatureCompatibilityVersion and _configsvrSetFeatureCompatibilityVersion 2017-10-09 10:24:55 -04:00
Louis Williams
17a18ae641 SERVER-31405 Remove redundant startup warning for incomplete upgrade/downgrade 2017-10-06 13:21:10 -04:00
Tess Avitabile
cb9f7cdcb7 SERVER-30731 Add expr support in MatchExpression outside of aggregation 2017-10-05 16:47:26 -04:00