Skip to content

Commit fb4ea29

Browse files
committed
include setFCV in 3.6 upgrades
1 parent 4e71068 commit fb4ea29

File tree

3 files changed

+33
-13
lines changed

3 files changed

+33
-13
lines changed

source/release-notes/3.6-upgrade-replica-set.txt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,26 @@ Prerequisites
6767
``featureCompatibilityVersion`` set to ``3.4``, connect to each
6868
replica set member and check the ``featureCompatibilityVersion``:
6969

70+
.. cssclass:: copyable-code
71+
7072
.. code-block:: javascript
7173

7274
db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
7375

74-
All members should return a result that includes:
76+
All members should return a result that includes
77+
``"featureCompatibilityVersion": "3.4"``.
78+
79+
To set or update ``featureCompatibilityVersion``, run the
80+
following command on the primary. A majority of the data-bearing
81+
members must be available:
82+
83+
.. cssclass: copyable-code
7584

7685
.. code-block:: javascript
7786

78-
"featureCompatibilityVersion": "3.4"
87+
db.adminCommand( { setFeatureCompatibilityVersion: "3.4" } )
7988

80-
To set or update ``featureCompatibilityVersion``, see
89+
For more information, see
8190
:dbcommand:`setFeatureCompatibilityVersion`.
8291

8392
- Replica Set Member State

source/release-notes/3.6-upgrade-sharded-cluster.txt

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,26 @@ Prerequisites
6565
connect to the member as a :ref:`shard local user
6666
<shard-local-users>`.
6767

68+
.. cssclass:: copyable-code
69+
6870
.. code-block:: javascript
6971

7072
db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
7173

72-
All members should return a result that includes:
74+
All members should return a result that includes
75+
``"featureCompatibilityVersion": "3.4"``.
76+
77+
To set or update ``featureCompatibilityVersion``, run the
78+
following command on the :program:`mongos`:
79+
80+
.. cssclass: copyable-code
7381

7482
.. code-block:: javascript
7583

76-
"featureCompatibilityVersion": "3.4"
84+
db.adminCommand( { setFeatureCompatibilityVersion: "3.4" } )
7785

78-
To set or update ``featureCompatibilityVersion``, see
79-
:dbcommand:`setFeatureCompatibilityVersion`.
86+
For more information, see
87+
:dbcommand:`setFeatureCompatibilityVersion`.
8088

8189
- Shard Aware
8290
The shards in the |oldversion| sharded clusters must be shard aware

source/release-notes/3.6-upgrade-standalone.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,19 @@ to ``3.4``. To check ``featureCompatibilityVersion``:
5454

5555
db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
5656

57-
The operation should return a result that includes:
57+
The operation should return a result that includes
58+
``"featureCompatibilityVersion": "3.4"``.
59+
60+
To set or update ``featureCompatibilityVersion``, run the following
61+
command:
62+
63+
.. cssclass: copyable-code
5864

5965
.. code-block:: javascript
6066

61-
"featureCompatibilityVersion": "3.4"
67+
db.adminCommand( { setFeatureCompatibilityVersion: "3.4" } )
6268

63-
For more information on the returned ``featureCompatibilityVersion``
64-
value, see :ref:`view-fcv`. To set or update
65-
``featureCompatibilityVersion``, see
66-
:dbcommand:`setFeatureCompatibilityVersion`.
69+
For more information, see :dbcommand:`setFeatureCompatibilityVersion`.
6770

6871
Download |newversion| Binaries
6972
------------------------------

0 commit comments

Comments
 (0)