@@ -4,10 +4,15 @@ Replica Set Commands
4
4
5
5
.. default-domain:: mongodb
6
6
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.
9
12
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:
11
16
12
17
JavaScript Methods
13
18
------------------
@@ -22,6 +27,9 @@ methods, see :doc:`/reference/method`.
22
27
.. include:: method/rs.status.txt
23
28
:start-after: mongodb
24
29
30
+ .. include:: method/db.isMaster.txt
31
+ :start-after: mongodb
32
+
25
33
.. include:: method/rs.initiate.txt
26
34
:start-after: mongodb
27
35
@@ -58,6 +66,8 @@ methods, see :doc:`/reference/method`.
58
66
.. include:: method/rs.syncFrom.txt
59
67
:start-after: mongodb
60
68
69
+ .. _replica-set-database-commands:
70
+
61
71
Database Commands
62
72
-----------------
63
73
@@ -67,6 +77,9 @@ Database Commands
67
77
The following commands apply to replica sets. For a complete list of all
68
78
commands, see :doc:`/reference/commands`.
69
79
80
+ .. include:: command/isMaster.txt
81
+ :start-after: mongodb
82
+
70
83
.. include:: command/resync.txt
71
84
:start-after: mongodb
72
85
@@ -87,5 +100,3 @@ commands, see :doc:`/reference/commands`.
87
100
88
101
.. include:: command/replSetSyncFrom.txt
89
102
:start-after: mongodb
90
-
91
-
0 commit comments