Skip to content

fixing a typo #255

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

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
12 changes: 8 additions & 4 deletions source/administration/replica-sets.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ suggestions for administers of replica sets.
The following tutorials provide task-oriented instructions for
specific administrative tasks related to replica set operation.

.. Updates to this tutorial list should also be made in
source/replication.txt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comments out the entire list that follows. nesting error.


- :doc:`/tutorial/deploy-replica-set`
- :doc:`/tutorial/convert-standalone-to-replica-set`
- :doc:`/tutorial/expand-replica-set`
- :doc:`/tutorial/deploy-geographically-distributed-replica-set`
- :doc:`/tutorial/change-oplog-size`
- :doc:`/tutorial/convert-replica-set-to-replicated-shard-cluster`
- :doc:`/tutorial/force-member-to-be-primary`
- :doc:`/tutorial/change-hostnames-in-a-replica-set`
- :doc:`/tutorial/convert-secondary-into-arbiter`

Expand Down Expand Up @@ -333,9 +337,9 @@ the event of a network partition.
Procedures
----------

For procedures on deploying replica sets, see the
:doc:`/administration/replication-architectures` document and the
:ref:`list of replica set tutorials <replica-set-tutorials-list>`.
This section gives overview information on certain procedures. Most
procedures, however, are found in the :ref:`replica set tutorials
<replica-set-tutorials-list>`.

.. _replica-set-admin-procedure-add-member:

Expand Down
4 changes: 4 additions & 0 deletions source/replication.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ Tutorials
The following tutorials describe certain replica set maintenance
operations in detail:

.. Updates to this tutorial list should also be made in
source/administration/replica-sets.txt

.. toctree::
:maxdepth: 1

Expand All @@ -46,6 +49,7 @@ operations in detail:
tutorial/expand-replica-set
tutorial/deploy-geographically-distributed-replica-set
tutorial/change-oplog-size
tutorial/force-member-to-be-primary`
tutorial/change-hostnames-in-a-replica-set
tutorial/convert-secondary-into-arbiter

Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/convert-standalone-to-replica-set.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ administration </replication>`, see:
Procedure
---------

These procedures assume you have a :term:`standalone` instance of MongoDB
This procedure assumes you have a :term:`standalone` instance of MongoDB
installed. If you have not already installed MongoDB, see the
:ref:`installation tutorials <tutorials-installation>`.

Expand Down
24 changes: 24 additions & 0 deletions source/tutorial/force-member-to-be-primary.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
==========================
For a Member to be Primary
==========================

.. default-domain:: mongodb

Synopsis
--------

You can force a member to be :term:`primary` by giving it a higher
:data:`members[n].priority` value than any other member in the
:term:`replica set`. You can also force :term:`secondary` members never
to become primary by setting their :data:`members[n].priority` values to
``0``, which means they can never seek :ref:`election
<replica-set-elections>` as primary. For more information on priority
levels, see :ref:`replica-set-node-priority`.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This document should be in draft, as it doesn't look complete.

Procedures
----------

.. _replica-set-force-member-to-be-primary-via-priority-setting:

Force a Member to be Primary by Setting it Priority High
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~