Skip to content

Commit 8e880ff

Browse files
author
Sam Kleinman
committed
DOCS-466 minor tweaks
1 parent 9a3b1ab commit 8e880ff

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

source/reference/replica-commands.txt

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ Replica Set Commands
44

55
.. default-domain:: mongodb
66

7-
This reference describes the JavaScript methods and the database commands that
8-
can be used on replica sets.
7+
This reference collects documentation for all :ref:`JavaScript methods
8+
<replica-set-javascript-methods>` for the :program:`mongo` shell that
9+
support :term:`replica set` functionality, as well as all
10+
:ref:`database commands <replica-set-database-commands>` related to
11+
replication function.
912

10-
For a list of all replica set documentation, see :doc:`/replication`.
13+
See :doc:`/replication`, for a list of all replica set documentation.
14+
15+
.. _replica-set-javascript-methods:
1116

1217
JavaScript Methods
1318
------------------
@@ -22,6 +27,9 @@ methods, see :doc:`/reference/method`.
2227
.. include:: method/rs.status.txt
2328
:start-after: mongodb
2429

30+
.. include:: method/db.isMaster.txt
31+
:start-after: mongodb
32+
2533
.. include:: method/rs.initiate.txt
2634
:start-after: mongodb
2735

@@ -58,6 +66,8 @@ methods, see :doc:`/reference/method`.
5866
.. include:: method/rs.syncFrom.txt
5967
:start-after: mongodb
6068

69+
.. _replica-set-database-commands:
70+
6171
Database Commands
6272
-----------------
6373

@@ -67,6 +77,9 @@ Database Commands
6777
The following commands apply to replica sets. For a complete list of all
6878
commands, see :doc:`/reference/commands`.
6979

80+
.. include:: command/isMaster.txt
81+
:start-after: mongodb
82+
7083
.. include:: command/resync.txt
7184
:start-after: mongodb
7285

@@ -87,5 +100,3 @@ commands, see :doc:`/reference/commands`.
87100

88101
.. include:: command/replSetSyncFrom.txt
89102
:start-after: mongodb
90-
91-

0 commit comments

Comments
 (0)