File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,28 @@ This command must perform writes to an internal system collection. If
170
170
for any reason the command does not complete successfully, you can
171
171
safely retry the command as the operation is idempotent.
172
172
173
+ .. _setFeatureCompatibilityVersion-user-write-blocking:
174
+
175
+ Cluster-to-Cluster Replication and User Write Blocking
176
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
177
+
178
+ Starting in MongoDB 6.0, if you need to downgrade the feature
179
+ compatibility version, ensure cluster-to-cluster replication and user
180
+ write blocking are disabled:
181
+
182
+ #. If you enabled cluster-to-cluster replication, disable it.
183
+
184
+ #. If you enabled user write blocking, disable it:
185
+
186
+ .. code-block:: javascript
187
+
188
+ db.runCommand( { setUserWriteBlockMode: 1, global: false } )
189
+
190
+ #. Wait for the previous command to complete.
191
+
192
+ #. Downgrade the feature compatibility version using
193
+ :dbcommand:`setFeatureCompatibilityVersion`.
194
+
173
195
Examples
174
196
--------
175
197
Original file line number Diff line number Diff line change @@ -61,6 +61,13 @@ single document.
61
61
62
62
See :parameter:`indexMaxNumGeneratedKeysPerDocument`.
63
63
64
+ Feature Compatibility Version and User Write Blocking
65
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66
+
67
+ If you need to downgrade the feature compatibility version, ensure you
68
+ disable cluster-to-cluster replication and user write blocking. See
69
+ :ref:`setFeatureCompatibilityVersion-user-write-blocking`.
70
+
64
71
Platform Support
65
72
----------------
66
73
You can’t perform that action at this time.
0 commit comments