Skip to content

Commit fbb52a5

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-15477 coll mod rolling upgrade (BACKPORT) (#1642)
* DOCS-15477 coll mod rolling upgrade (#1576) * DOCS-15477-collMod-rolling-upgrade * DOCS-15477-collMod-rolling-upgrade * DOCS-15477-collMod-rolling-upgrade * DOCS-15477-collMod-rolling-upgrade * DOCS-15477-collMod-rolling-upgrade * DOCS-15477-collMod-rolling-upgrade * DOCS-15477-collMod-rolling-upgrade Co-authored-by: jason-price-mongodb <[email protected]> * DOCS-15477 coll mod rolling upgrade * DOCS-15477 coll mod rolling upgrade * DOCS-15477 coll mod rolling upgrade Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 8a55657 commit fbb52a5

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

source/includes/collMod-note.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
The ``noPadding`` and ``usePowerOf2Sizes`` MMAPv1 options for the
2+
:dbcommand:`collMod` command are removed. Do not use those options
3+
because upgrading from MongoDB 4.0 to 4.2 causes the 4.2 :ref:`secondary
4+
members <replica-set-secondary-members>` to immediately halt.

source/reference/command/collMod.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ Definition
2929

3030
.. note:: Starting in MongoDB 4.2
3131

32-
33-
- MongoDB removes the MMAPv1 storage engine and the MMAPv1
34-
specific options ``noPadding`` and ``usePowerOf2Sizes`` for
35-
:dbcommand:`collMod`.
32+
- .. include:: /includes/collMod-note.rst
3633

3734
- .. include:: /includes/extracts/views-restriction-output-to-disk.rst
3835

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Upgrade a Replica Set to 4.2
1616

1717
.. include:: /includes/upgrade-copy.rst
1818

19+
.. note:: Starting in MongoDB 4.2
20+
21+
.. include:: /includes/collMod-note.rst
22+
1923
.. |downgrading| replace:: :doc:`downgrading </release-notes/4.2-downgrade-replica-set>`
2024

2125
Read Concern Majority (3-Member Primary-Secondary-Arbiter Architecture)

source/tutorial/change-replica-set-wiredtiger.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ Change Replica Set to WiredTiger
55
.. default-domain:: mongodb
66

77

8-
.. note::
8+
.. note:: Starting in MongoDB 4.2
9+
10+
- .. include:: /includes/collMod-note.rst
911

10-
Starting in version 4.2, MongoDB removes the deprecated MMAPv1
11-
storage engine. If upgrading to MongoDB 4.2 from a MongoDB 4.0
12-
deployment that uses MMAPv1, you must upgrade to WiredTiger.
12+
- MongoDB removes the deprecated MMAPv1 storage engine. If you're
13+
upgrading to MongoDB 4.2 from a MongoDB 4.0 deployment that uses
14+
MMAPv1, you must upgrade to WiredTiger.
1315

1416
Use this tutorial to update a replica set to use :ref:`WiredTiger
1517
<storage-wiredtiger>`. The procedure updates the replica set in a

0 commit comments

Comments
 (0)