Skip to content

Commit cc58173

Browse files
committed
DOCS-14655 correct newlyAdded downgrade step
1 parent 9c2b121 commit cc58173

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

source/release-notes/5.0-downgrade-replica-set.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,15 @@ First, verify the following:
9696

9797
- Ensure that no nodes have a ``newlyAdded`` field in their
9898
:doc:`replica set configuration </reference/replica-configuration>`.
99-
Use the :method:`rs.conf()` method on each node in your replica set to
100-
verify this. The ``newlyAdded`` only appears in a node's replica set
99+
Run the following command on each node in your replica set to
100+
verify this:
101+
102+
.. code-block:: javascript
103+
104+
use local
105+
db.system.replset.find( { "members.newlyAdded" : { $exists : true } } );
106+
107+
The ``newlyAdded`` field only appears in a node's replica set
101108
configuration document during and shortly after an initial sync.
102109

103110
- Ensure that no replica set member is in :replstate:`ROLLBACK` or

source/release-notes/5.0-downgrade-sharded-cluster.txt

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,16 @@ First, verify the following:
103103

104104
- Ensure that no nodes have a ``newlyAdded`` field in their
105105
:doc:`replica set configuration </reference/replica-configuration>`.
106-
Use the :method:`rs.conf()` method on each node in your sharded
107-
cluster to verify this. The ``newlyAdded`` only appears in a node's
108-
replica set configuration document during and shortly after an initial
109-
sync.
106+
Run the following command on each node in your sharded cluster to
107+
verify this:
108+
109+
.. code-block:: javascript
110+
111+
use local
112+
db.system.replset.find( { "members.newlyAdded" : { $exists : true } } );
113+
114+
The ``newlyAdded`` field only appears in a node's replica set
115+
configuration document during and shortly after an initial sync.
110116

111117
- Ensure that no replica set member is in :replstate:`ROLLBACK` or
112118
:replstate:`RECOVERING` state.

0 commit comments

Comments
 (0)