Skip to content

Commit 7e31604

Browse files
author
Bob Grabar
committed
DOCS-444 faq on hidden members vote
1 parent e64de1d commit 7e31604

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

source/faq/replica-sets.txt

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ inaccessible, the other members can autonomously :term:`elect
3434
<election>` one of the other members of the set to be the new "primary".
3535

3636
By default, clients send all reads to the primary;
37-
however, ":term:`read preference`" is configurable at the
37+
however, :term:`read preference` is configurable at the
3838
client level on a per-connection basis, which makes it possible to
3939
send reads to secondary nodes instead.
4040

@@ -78,7 +78,7 @@ For example, a deployment may maintain a :term:`primary` and :term:`secondary`
7878
in an East-coast data center along with a :term:`secondary` member for disaster
7979
recovery in a West-coast data center.
8080

81-
.. seealso:: ":doc:`/tutorial/deploy-geographically-distributed-replica-set`"
81+
.. seealso:: :doc:`/tutorial/deploy-geographically-distributed-replica-set`
8282

8383
Can MongoDB replicate over a "noisy" connection?
8484
------------------------------------------------
@@ -206,10 +206,19 @@ Which members of a replica set vote in elections?
206206
-------------------------------------------------
207207

208208
All members of a replica set, unless the value of :data:`votes
209-
<members[n].votes>` is equal to ``0`` vote in elections. This includes
209+
<members[n].votes>` is equal to ``0``, vote in elections. This includes
210210
all :ref:`delayed <replica-set-delayed-members>`, :ref:`hidden
211-
<replica-set-hidden-members>` and all :ref:`secondary-only
212-
<replica-set-secondary-only-members>` members as well as the
211+
<replica-set-hidden-members>` and :ref:`secondary-only
212+
<replica-set-secondary-only-members>` members, as well as the
213213
:ref:`arbiters <replica-set-arbiters>`.
214214

215215
.. seealso:: :ref:`replica-set-elections`
216+
217+
What is the default voting behavior for hidden members?
218+
-------------------------------------------------------
219+
220+
By default, hidden members of replica sets *do* vote in elections. To
221+
change this behavior, change the hidden member's :data:`votes
222+
<members[n].votes>` field to ``0``.
223+
224+
.. seealso:: :ref:`replica-set-elections`

0 commit comments

Comments
 (0)