Skip to content

Commit 47a4dcb

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-15212 write blocking and fcv (#969)
* DOCS-15212-write-blocking-and-FCV * DOCS-15212-write-blocking-and-FCV * DOCS-15212-write-blocking-and-FCV * DOCS-15212-write-blocking-and-FCV * DOCS-15212-write-blocking-and-FCV * DOCS-15212-write-blocking-and-FCV * DOCS-15212-write-blocking-and-FCV Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 2bd2b11 commit 47a4dcb

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

source/reference/command/setFeatureCompatibilityVersion.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,28 @@ This command must perform writes to an internal system collection. If
170170
for any reason the command does not complete successfully, you can
171171
safely retry the command as the operation is idempotent.
172172

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+
173195
Examples
174196
--------
175197

source/release-notes/6.0-compatibility.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ single document.
6161

6262
See :parameter:`indexMaxNumGeneratedKeysPerDocument`.
6363

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+
6471
Platform Support
6572
----------------
6673

0 commit comments

Comments
 (0)