File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -411,9 +411,10 @@ slave's :data:`local.sources` collection.
411
411
db.sources.update( { host : "prod.mississippi" }, { $set : { host : "prod.mississippi.example.net" } } )
412
412
413
413
Restart the slave with the correct command line arguments or with no
414
- ``--source`` argument. After configuring :data:`local.sources` the
414
+ :option:`--source <mongod --source>` option.
415
+ After configuring :data:`local.sources` the
415
416
first time, the :option:`--source <mongod --source>` will have no
416
- subsequent affect . Therefore, both of the following invocations are
417
+ subsequent effect . Therefore, both of the following invocations are
417
418
correct:
418
419
419
420
.. code-block:: javascript
Original file line number Diff line number Diff line change 3
3
When updating the replica configuration object, address all members
4
4
of the set using the index value in the array. The array index
5
5
begins with ``0 ``. Do not confuse this index value with the value
6
- of the :data: `_id <members[n]._id ` field in each document in the
6
+ of the :data: `_id <members[n]._id> ` field in each document in the
7
7
:data: `members <rs.conf.members> ` array.
8
8
9
- The :data: `_id <members[n]._id ` rarely corresponds to the array
9
+ The :data: `_id <members[n]._id> ` rarely corresponds to the array
10
10
index.
Original file line number Diff line number Diff line change 23
23
24
24
All of the following arguments are optional:
25
25
26
- - slaveOK
26
+ - slaveOk
27
27
- username
28
28
- password
29
29
- nonce
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ commands called :method:`db.runCommand()`. The following operation in
35
35
36
36
Many :doc:`drivers </applications/drivers>` provide an equivalent for
37
37
the :method:`db.runCommand()` method. Internally, running commands
38
- with :method:`db.runCommand()` is equivelent to a special query
38
+ with :method:`db.runCommand()` is equivalent to a special query
39
39
against the :term:`$cmd` collection.
40
40
41
41
Many common commands have their own shell helpers or wrappers in the
@@ -72,7 +72,7 @@ Failed commands return the ``ok`` field with a value of ``0``.
72
72
All of the following command descriptions, provide a document template
73
73
or prototype for each command. Some command documentation also
74
74
includes the relevant :program:`mongo` shell helpers. See
75
- :doc:`/reference/command` for a list of all comamnds .
75
+ :doc:`/reference/command` for a list of all commands .
76
76
77
77
User Commands
78
78
-------------
You can’t perform that action at this time.
0 commit comments