File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -133,13 +133,15 @@ Use this procedure to replace a member of a replica set when the host
133
133
name has changed. This procedure preserves all existing configuration
134
134
for a member, except its hostname/location.
135
135
136
- Replacing a member is useful if you have an existing configuration
137
- and only want to change the hostname of a member rather than completely
138
- remove all configurations related to the existing/previous set member.
136
+ You may need to replace a replica set member if you want to replace an
137
+ existing system and only need to change the hostname rather than
138
+ completely replace all configured options related to the previous
139
+ member.
139
140
140
141
Use :method:`rs.reconfig()` to change the value of the
141
142
:data:`members[n].host` field to reflect the new hostname or port
142
- number. :method:`rs.reconfig()` will not change the value of :data:`members[n]._id`.
143
+ number. :method:`rs.reconfig()` will not change the value of
144
+ :data:`members[n]._id`.
143
145
144
146
145
147
.. code-block:: javascript
You can’t perform that action at this time.
0 commit comments