Skip to content

Commit 0b00ad4

Browse files
committed
DOCS-5932 clarify troubleshoot replica sets
1 parent a44a936 commit 0b00ad4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

source/tutorial/troubleshoot-replica-sets.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Socket Exceptions when Rebooting More than One Secondary
190190

191191
When you reboot members of a replica set, ensure that the set is able
192192
to elect a primary during the maintenance. This means ensuring that a majority of
193-
the set's ':data:`~replSetGetConfig.members[n].votes` are
193+
the set's :data:`~replSetGetConfig.members[n].votes` are
194194
available.
195195

196196
When a set's active members can no longer form a majority, the set's
@@ -200,11 +200,12 @@ attempting to write to the former primary receive socket exceptions
200200
and *Connection reset* errors until the set can elect a primary.
201201

202202
.. example:: Given a three-member replica set where every member has
203-
one vote, the set can elect a primary only as long as two members
204-
can connect to each other. If two you reboot the two secondaries
205-
once, the primary steps down and becomes a secondary. Until the at
206-
least one secondary becomes available, the set has no primary and
207-
cannot elect a new primary.
203+
one vote, the set can elect a primary if at least two members
204+
can connect to each other. If you reboot the two secondaries at
205+
once, the primary steps down and becomes a secondary. Until at least
206+
another secondary becomes available, i.e. at least one of the rebooted
207+
secondaries also becomes available, the set has no primary and cannot
208+
elect a new primary.
208209

209210
For more information on votes, see :doc:`/core/replica-set-elections`. For
210211
related information on connection errors, see :ref:`faq-keepalive`.

0 commit comments

Comments
 (0)