File tree Expand file tree Collapse file tree 3 files changed +33
-13
lines changed Expand file tree Collapse file tree 3 files changed +33
-13
lines changed Original file line number Diff line number Diff line change @@ -67,17 +67,26 @@ Prerequisites
67
67
``featureCompatibilityVersion`` set to ``3.4``, connect to each
68
68
replica set member and check the ``featureCompatibilityVersion``:
69
69
70
+ .. cssclass:: copyable-code
71
+
70
72
.. code-block:: javascript
71
73
72
74
db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
73
75
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
75
84
76
85
.. code-block:: javascript
77
86
78
- "featureCompatibilityVersion" : "3.4"
87
+ db.adminCommand( { setFeatureCompatibilityVersion : "3.4" } )
79
88
80
- To set or update ``featureCompatibilityVersion`` , see
89
+ For more information , see
81
90
:dbcommand:`setFeatureCompatibilityVersion`.
82
91
83
92
- Replica Set Member State
Original file line number Diff line number Diff line change @@ -65,18 +65,26 @@ Prerequisites
65
65
connect to the member as a :ref:`shard local user
66
66
<shard-local-users>`.
67
67
68
+ .. cssclass:: copyable-code
69
+
68
70
.. code-block:: javascript
69
71
70
72
db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
71
73
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
73
81
74
82
.. code-block:: javascript
75
83
76
- "featureCompatibilityVersion" : "3.4"
84
+ db.adminCommand( { setFeatureCompatibilityVersion : "3.4" } )
77
85
78
- To set or update ``featureCompatibilityVersion`` , see
79
- :dbcommand:`setFeatureCompatibilityVersion`.
86
+ For more information , see
87
+ :dbcommand:`setFeatureCompatibilityVersion`.
80
88
81
89
- Shard Aware
82
90
The shards in the |oldversion| sharded clusters must be shard aware
Original file line number Diff line number Diff line change @@ -54,16 +54,19 @@ to ``3.4``. To check ``featureCompatibilityVersion``:
54
54
55
55
db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
56
56
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
58
64
59
65
.. code-block:: javascript
60
66
61
- "featureCompatibilityVersion" : "3.4"
67
+ db.adminCommand( { setFeatureCompatibilityVersion : "3.4" } )
62
68
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`.
67
70
68
71
Download |newversion| Binaries
69
72
------------------------------
You can’t perform that action at this time.
0 commit comments