Skip to content

Commit 39d6922

Browse files
author
Ed Costello
committed
edits for style, adding "command" qualification in various places or
fixing grammar.
1 parent 707ed15 commit 39d6922

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

source/administration/sharding-architectures.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ created subsequently, may reside on any shard in the cluster.
106106
.. [#sharding-databases] As you configure sharding, you will use the
107107
:dbcommand:`enableSharding` command to enable sharding for a
108108
database. This simply makes it possible to use the
109-
:dbcommand:`shardCollection` on a collection within that database.
109+
:dbcommand:`shardCollection` command on a collection within that database.
110110

111111
.. [#overloaded-primary-term] The term "primary" in the context of
112112
databases and sharding, has nothing to do with the term

source/administration/sharding.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ procedure:
236236
.. optional::
237237

238238
You may specify a "name" as an argument to the
239-
:dbcommand:`addShard`, as follows:
239+
:dbcommand:`addShard` command, as follows:
240240

241241
.. code-block:: javascript
242242

@@ -323,7 +323,7 @@ The procedure to remove a shard is as follows:
323323

324324
#. View progress of the migration.
325325

326-
You can run the :dbcommand:`removeShard` again at any stage of the
326+
You can run the :dbcommand:`removeShard` command again at any stage of the
327327
process to view the progress of the migration, as follows:
328328

329329
.. code-block:: javascript
@@ -360,7 +360,7 @@ The procedure to remove a shard is as follows:
360360

361361
.. warning::
362362

363-
Do not run the :dbcommand:`movePrimary` until you have *finished*
363+
Do not run the :dbcommand:`movePrimary` command until you have *finished*
364364
draining the shard.
365365

366366
The command will not return until MongoDB completes moving all

source/core/sharding-internals.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Shard Key Indexes
267267
All sharded collections **must** have an index that starts with the
268268
:term:`shard key`. If you shard a collection that does not yet contain
269269
documents and *without* such an index, the :dbcommand:`shardCollection`
270-
will create an index on the shard key. If the collection already
270+
command will create an index on the shard key. If the collection already
271271
contains documents, you must create an appropriate index before using
272272
:dbcommand:`shardCollection`.
273273

source/reference/collection-statistics.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Or:
4848
Example Document
4949
----------------
5050

51-
The output of :method:`db.collection.stats()` resembles the following:
51+
The output of :method:`db.collection.stats()` resembles the following:
5252

5353
.. code-block:: javascript
5454

@@ -115,13 +115,13 @@ Fields
115115

116116
The number of indexes on the collection. All collections have at
117117
least one index on the :term:`_id` field.
118-
118+
119119
.. versionchanged:: 2.2
120120
Before 2.2, capped collections did not necessarily have an
121121
index on the ``_id`` field, and some capped collections created
122122
with pre-2.2 versions of :program:`mongod` may not have an
123123
``_id`` index.
124-
124+
125125

126126
.. stats:: lastExtentSize
127127

@@ -161,7 +161,7 @@ Fields
161161
Reports the flags on this collection set by the user. In version
162162
2.2 the only user flag is ``usePowerOf2Sizes``.
163163

164-
See :dbcommand:`collMod` for more information on setting user
164+
See the :dbcommand:`collMod` command for more information on setting user
165165
flags and :ref:`usePowerOf2Sizes <usePowerOf2Sizes>`.
166166

167167
.. stats:: totalIndexSize

source/reference/command/reIndex.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ reIndex
1414
{ reIndex: "collection" }
1515

1616
Normally, MongoDB compacts indexes during routine updates. For most
17-
users, the :dbcommand:`reIndex` is unnecessary. However, it may be worth
18-
running if the collection size has changed significantly or if the
19-
indexes are consuming a disproportionate amount of disk space.
17+
users, the :dbcommand:`reIndex` command is unnecessary. However, it
18+
may be worth running if the collection size has changed significantly
19+
or if the indexes are consuming a disproportionate amount of disk space.
2020

2121
Note that the :dbcommand:`reIndex` command will block the server against
2222
writes and may take a long time for large collections.

source/reference/command/renameCollection.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ renameCollection
2020
The ``dropTarget`` argument is optional.
2121

2222
If you specify a collection to the ``to`` argument in a different database, the
23-
:dbcommand:`renameCollection` will copy the collection to the new
23+
:dbcommand:`renameCollection` command will copy the collection to the new
2424
database and then drop the source collection.
2525

2626
:param source-namespace:

source/reference/mongod.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ Options
5454
.. option:: --quiet
5555

5656
Runs the :program:`mongod` instance in a quiet mode that attempts to limit
57-
the amount of output. This option suppresses:
58-
57+
the amount of output. This option suppresses:
58+
5959
- output from :term:`database commands <database command>`,
6060
including :dbcommand:`drop`, :dbcommand:`dropIndexes`,
6161
:dbcommand:`diagLogging`, :dbcommand:`validate`, and
@@ -353,7 +353,7 @@ Options
353353
.. option:: --repair
354354

355355
Runs a repair routine on all databases. This is equivalent
356-
to shutting down and running :dbcommand:`repairDatabase` database
356+
to shutting down and running the :dbcommand:`repairDatabase` database
357357
command on all databases.
358358

359359
.. include:: /includes/warning-repair.rst
@@ -385,7 +385,7 @@ Options
385385
option. The database logs all slow queries to the log, even when
386386
the profiler is not turned on. When the database profiler is on,
387387
:program:`mongod` the profiler writes to the ``system.profile``
388-
collection. See :dbcommand:`profile` for more information on the
388+
collection. See the :dbcommand:`profile` command for more information on the
389389
database profiler.
390390

391391
.. option:: --smallfiles
@@ -583,9 +583,9 @@ Sharding Cluster Options
583583
.. option:: --noMoveParanoia
584584

585585
Disables a "paranoid mode" for data writes for chunk migration
586-
operation. See the :ref:`chunk migration
587-
<sharding-chunk-migration>` and :dbcommand:`moveChunk` command
588-
documentation for more information.
586+
operation. See the
587+
:ref:`chunk migration <sharding-chunk-migration>`
588+
and :dbcommand:`moveChunk` command documentation for more information.
589589

590590
By default :program:`mongod` will save copies of migrated chunks on
591591
the "from" server during migrations as "paranoid mode." Setting

source/use-cases/storing-log-data.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ The following command will insert the ``event`` object into the
216216
By setting ``w=0``, you do not require that MongoDB
217217
acknowledges receipt of the insert. Although very fast, this is risky
218218
because the application cannot detect network and server failures. See
219-
:ref:`write-concern` for more information.
219+
:ref:`write-concern` for more information.
220220

221221
If you want to ensure that MongoDB acknowledges inserts, you can pass
222222
``w=1`` argument as follows:
@@ -496,7 +496,7 @@ that select, process, and aggregate results from large numbers of
496496
documents. The :method:`aggregate() <db.collection.aggregate()>` (and :dbcommand:`aggregate`
497497
:term:`command <database command>`) offers greater flexibility,
498498
capacity with less complexity than the existing :dbcommand:`mapReduce`
499-
and :dbcommand:`group` aggregation.
499+
and :dbcommand:`group` aggregation commands.
500500

501501
Consider the following aggregation :term:`pipeline`: [#sql-aggregation-equivalents]_
502502

0 commit comments

Comments
 (0)