Skip to content

DOCS-444 faq on hidden members vote #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions source/faq/replica-sets.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ inaccessible, the other members can autonomously :term:`elect
<election>` one of the other members of the set to be the new "primary".

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

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

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

Can MongoDB replicate over a "noisy" connection?
------------------------------------------------
Expand Down Expand Up @@ -206,10 +206,19 @@ Which members of a replica set vote in elections?
-------------------------------------------------

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

.. seealso:: :ref:`replica-set-elections`

What is the default voting behavior for hidden members?
-------------------------------------------------------

By default, hidden members of replica sets *do* vote in elections. To
change this behavior, change the hidden member's :data:`votes
<members[n].votes>` field to ``0``.

.. seealso:: :ref:`replica-set-elections`