Skip to content

Commit cbab8b4

Browse files
author
Sam Kleinman
committed
merge: DOCS-637
2 parents 8835d99 + abd8213 commit cbab8b4

27 files changed

+49
-49
lines changed

draft/administration/production-notes.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ components.
2929
This section contains notes on specific network configurations
3030
relevant to production deployments of MongoDB.
3131

32-
.. TODO link to MongDB security section when available.
32+
.. TODO link to MongoDB security section when available.
3333

3434
Default Port Numbers used by MongoDB
3535
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -58,7 +58,7 @@ lists the default ports that MongoDB components use.
5858
- :option:`mongod --shardsvr`
5959
- 27018
6060
* - :ref:`Config Server <sharding-config-server>` (used in sharding)
61-
- :option:`mongod --configsrv`
61+
- :option:`mongod --configsvr`
6262
- 27019
6363
* - :ref:`HTTP REST interface <rest-interface>`
6464
- :option:`mongod --rest`
@@ -91,7 +91,7 @@ MongoDB uses the firewall rules listed here.
9191
* - :program:`mongod`
9292
- Outgoing
9393
- */27017
94-
- Repilca set members, Shard routers (:program:`mongos` instances)
94+
- Replica set members, Shard routers (:program:`mongos` instances)
9595
* - :program:`mongos`
9696
- Incoming
9797
- 27017/*

draft/applications/geospatial-indexes.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ queries for a particular distance around a certain point.
340340
Spherical
341341
~~~~~~~~~
342342

343-
By default, MongoDB uses flat geometry to calculate distances betwen
343+
By default, MongoDB uses flat geometry to calculate distances between
344344
points. MongoDB also supports distance calculations using spherical
345345
geometry to provide accurate distances for geospatial information
346346
based on a sphere or earth.
@@ -371,7 +371,7 @@ spherical geometry is the ``{ spherical: true }`` option.
371371
sphere (e.g. the Earth) in the same units as the distance
372372
measurement.
373373

374-
- *radians to distance*: multiply the radian measure by the radius
374+
- *radians to distance*: multiply the rad ian measure by the radius
375375
of the sphere (e.g. the Earth) in the units system that you want to
376376
convert the distance to.
377377

draft/core/read-operations.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ the following resources:
484484

485485
- :ref:`An Introduction to Shard Keys <sharding-shard-key>`
486486
- :ref:`Shard Key Internals and Operations <sharding-internals-shard-keys>`
487-
- :ref:`Quering Sharded Clusters <sharding-internals-querying>`
487+
- :ref:`Querying Sharded Clusters <sharding-internals-querying>`
488488
- :ref:`sharding-mongos`
489489

490490
Replica Sets

draft/use-cases/gaming-user-state.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ To display the armor, then, you would use the following code:
327327

328328
>>> item_index = get_item_index(
329329
... character['inventory'] + character['location']['inventory'])
330-
>>> armor = get_armor_for_dislay(character, item_index)
330+
>>> armor = get_armor_for_display(character, item_index)
331331

332332
This operation builds an index for the items the character is actually
333333
carrying in inventory in addition to the items that the player might

source/administration/backups.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ The above command sequence:
253253
- Ensures that the ``/dev/vg0/mdb-snap01`` device is not mounted.
254254

255255
- Does a block level copy of the entire snapshot image using the ``dd``
256-
command, and compresses the result in a gziped tar archive in the
256+
command, and compresses the result in a gzipped tar archive in the
257257
current working directory.
258258

259259
.. warning::

source/administration/replica-sets.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ To check the current length of replication lag:
662662
syncedTo: Tue Oct 02 2012 11:33:40 GMT-0400 (EDT)
663663
= 7475 secs ago (2.08hrs)
664664

665-
.. note:: The :method:`rs.status()` method is a wrapper around hthe
665+
.. note:: The :method:`rs.status()` method is a wrapper around the
666666
:dbcommand:`replSetGetStatus` database command.
667667

668668
- Monitor the rate of replication by watching the oplog time in the

source/administration/sharding.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ to pre-splitting.
747747

748748
.. versionadded:: 2.2
749749
:dbcommand:`moveChunk` command has the: ``_secondaryThrottle``
750-
paramenter. When set to ``true``, MongoDB ensures that
750+
parameter. When set to ``true``, MongoDB ensures that
751751
:term:`secondary` members have replicated operations before allowing
752752
new chunk migrations.
753753

source/applications/database-references.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ MongoDB applications use one of two methods for relating documents:
2929
must perform additional queries to return the referenced
3030
documents. Many :doc:`drivers </applications/drivers>` have helper
3131
methods that form the query for the DBRef automatically. The
32-
drivers [#offical-driver]_ do not *automatically* resolve DBRefs
32+
drivers [#official-driver]_ do not *automatically* resolve DBRefs
3333
into documents.
3434

3535
Use a DBRef when you need to embed documents from multiple
@@ -42,7 +42,7 @@ MongoDB applications use one of two methods for relating documents:
4242
Unless you have a compelling reason for using a DBref use manual
4343
references.
4444

45-
.. [#offical-driver] Some community supported drivers may have
45+
.. [#official-driver] Some community supported drivers may have
4646
alternate behavior and may resolve a DBRef into a document
4747
automatically.
4848

source/applications/replication.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ behavior <replica-set-read-preference-behavior>`. See also the
331331
member's :term:`primary` or :term:`secondary` status.
332332

333333
For :readmode:`nearest`, the client assembles a list of
334-
acceptble hosts based on tag set and then narrows that list to
334+
acceptable hosts based on tag set and then narrows that list to
335335
the host with the shortest ping time and all other members of
336336
the set that are within the "local threshold," or acceptable
337337
latency. See :ref:`replica-set-read-preference-behavior-nearest`

source/core/sharding-internals.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ Furthermore:
212212
entire shard is unreachable or fails for some reason, that data will
213213
be unavailable.
214214

215-
- If the shaqrd key allows the :program:`mongos` to isolate most
216-
operations to a single shard, then the failure of a single will
217-
only render *some* data unavailable.
215+
- If the shard key allows the :program:`mongos` to isolate most
216+
operations to a single shard, then the failure of a single shard
217+
will only render *some* data unavailable.
218218

219219
- If your shard key distributes data required for every operation
220220
throughout the cluster, then the failure of the entire shard will
@@ -484,7 +484,7 @@ evenly among shards. Migrations may be either:
484484

485485
All chunk migrations use the following procedure:
486486

487-
#. The balancer process sends the :dbCommand:`moveChunk` command to
487+
#. The balancer process sends the :dbcommand:`moveChunk` command to
488488
the source shard for the chunk. In this operation the balancer
489489
passes the name of the destination shard to the source shard.
490490

source/faq/sharding.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ Consider the following error message:
375375

376376
ERROR: moveChunk commit failed: version is at <n>|<nn> instead of <N>|<NN>" and "ERROR: TERMINATING"
377377

378-
:program:`mongod` procudes this message if, during a :ref:`chunk
378+
:program:`mongod` issues this message if, during a :ref:`chunk
379379
migration <sharding-chunk-migration>`, the :term:`shard` could not
380380
connect to the :term:`config database` to update chunk information at
381381
the end of the migration process. If

source/reference/aggregation/substr.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ $substr (aggregation)
1414
.. note::
1515

1616
:expression:`$substr` is not encoding aware and if used
17-
improperly may produce a result string containing an invalid utf-8
17+
improperly may produce a result string containing an invalid UTF-8
1818
character sequence.

source/reference/command/replSetGetRBID.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
=========================
2-
replSetGetRIBD (internal)
2+
replSetGetRBID (internal)
33
=========================
44

55
.. default-domain:: mongodb

source/reference/command/shardCollection.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ shardCollection
1313

1414
.. code-block:: javascript
1515

16-
{ shardcollection: "<db>.<collection>", key: { "<shardkey>": 1 } }
16+
{ shardCollection: "<db>.<collection>", key: { "<shardkey>": 1 } }
1717

1818
This enables sharding for the collection specified by
1919
``<collection>`` in the database named ``<db>``, using the key
@@ -28,7 +28,7 @@ shardCollection
2828

2929
.. warning::
3030

31-
There's no easy way to disable sharding after running :dbcommand:`shardcollection`. In addition,
31+
There's no easy way to disable sharding after running :dbcommand:`shardCollection`. In addition,
3232
you cannot change shard keys once set. If you must convert a sharded cluster to a :term:`standalone`
3333
node or :term:`replica set`, you must make a single backup of the entire cluster
3434
and then restore the backup to the standalone :program:`mongod`

source/reference/components.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Diagnostic Tools
7777
provide diagnostic information related to the current operation of a
7878
:program:`mongod` instance.
7979

80-
.. note:: Because :program:`mongostniff` depends on :term:`libpcap
80+
.. note:: Because :program:`mongosniff` depends on :term:`libpcap
8181
<pcap>`, most distributions of MongoDB do *not* include
8282
:program:`mongosniff`.
8383

source/reference/config-database.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Collections
134134

135135
The :data:`mongos` collection stores a document for each
136136
:program:`mongos` instance affiliated with the
137-
culster. :program:`mongos` instances send pings to all members of
137+
cluster. :program:`mongos` instances send pings to all members of
138138
the cluster every 30 seconds so the cluster can verify that the
139139
:program:`mongos` is active. The ``ping`` field shows the time of
140140
the last ping. The cluster maintains this collection for reporting

source/reference/server-status.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,9 +1123,9 @@ recordStats
11231123
accessing data for *all* databases managed by this
11241124
:program:`mongod` instance.
11251125

1126-
.. status:: recordStats.local.accessNotInMemory
1126+
.. status:: recordStats.local.accessesNotInMemory
11271127

1128-
:status:`recordStats.local.accessNotInMemory` reflects the number of
1128+
:status:`recordStats.local.accessesNotInMemory` reflects the number of
11291129
times :program:`mongod` needed to access a memory page that was
11301130
*not* resident in memory for the ``local`` database.
11311131

@@ -1135,9 +1135,9 @@ recordStats
11351135
number of page fault exceptions thrown by :program:`mongod` when
11361136
accessing data for the ``local`` database.
11371137

1138-
.. status:: recordStats.admin.accessNotInMemory
1138+
.. status:: recordStats.admin.accessesNotInMemory
11391139

1140-
:status:`recordStats.admin.accessNotInMemory` reflects the number of
1140+
:status:`recordStats.admin.accessesNotInMemory` reflects the number of
11411141
times :program:`mongod` needed to access a memory page that was
11421142
*not* resident in memory for the :term:`admin database`.
11431143

@@ -1147,9 +1147,9 @@ recordStats
11471147
number of page fault exceptions thrown by :program:`mongod` when
11481148
accessing data for the :term:`admin database`.
11491149

1150-
.. status:: recordStats.<database>.accessNotInMemory
1150+
.. status:: recordStats.<database>.accessesNotInMemory
11511151

1152-
:status:`recordStats.<database>.accessNotInMemory` reflects the number of
1152+
:status:`recordStats.<database>.accessesNotInMemory` reflects the number of
11531153
times :program:`mongod` needed to access a memory page that was
11541154
*not* resident in memory for the ``<database>`` database.
11551155

source/release-notes/2.0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ commands.
404404

405405
- :dbcommand:`ping`
406406

407-
- :dbcommand:`isdbGrid`
407+
- :dbcommand:`isdbgrid`
408408

409409
Resources
410410
---------

source/release-notes/2.2.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ See the documentation of the :dbcommand:`compact` and the
628628
Added Build Flag to Use System Libraries
629629
````````````````````````````````````````
630630

631-
The Boost library, version 1.49, is now embeded in the MongoDB
631+
The Boost library, version 1.49, is now embedded in the MongoDB
632632
code base.
633633

634634
If you want to build MongoDB binaries using system Boost libraries,

source/tutorial/convert-replica-set-to-replicated-shard-cluster.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ Issue the following command:
376376
.. code-block:: javascript
377377

378378
use admin
379-
db.runCommand( { shardcollection : "test.test_collection", key : {"number":1} })
379+
db.runCommand( { shardCollection : "test.test_collection", key : {"number":1} })
380380
{ "collectionsharded" : "test.test_collection", "ok" : 1 }
381381

382382
The collection ``test_collection`` is now sharded!

source/tutorial/enforce-unique-keys-for-sharded-collections.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ using the ``unique`` constraint, specify the :dbcommand:`shardCollection` comman
6262

6363
.. code-block:: javascript
6464

65-
db.runCommand( { shardcollection : "test.users" , key : { email : 1 } , unique : true } );
65+
db.runCommand( { shardCollection : "test.users" , key : { email : 1 } , unique : true } );
6666

6767
Remember that the ``_id`` field index is always unique. By default, MongoDB
6868
inserts an ``ObjectId`` into the ``_id`` field. However,

source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ tumblelog to comment on posts. This a requires custom form and view to
375375
handle the form, and data. You will also update the template to
376376
include the form.
377377

378-
Creat the Comments Form
379-
~~~~~~~~~~~~~~~~~~~~~~~
378+
Create the Comments Form
379+
~~~~~~~~~~~~~~~~~~~~~~~~
380380

381381
You must customize form handling to deal with embedded comments. By
382382
extending :class:`ModelForm`, it is possible to append the comment to

source/use-cases/category-hierarchy.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ following operation in the Python/PyMongo console.
262262

263263
.. code-block:: python
264264

265-
>>> db.command('shardcollection', 'categories', {
265+
>>> db.command('shardCollection', 'categories', {
266266
... 'key': {'_id': 1} })
267267
{ "collectionsharded" : "categories", "ok" : 1 }
268268

source/use-cases/hierarchical-aggregation.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ timestamp) on the events collection. Consider the following:
468468

469469
.. code-block:: pycon
470470

471-
>>> db.command('shardcollection','events', {
471+
>>> db.command('shardCollection','events', {
472472
... 'key' : { 'userid': 1, 'ts' : 1} } )
473473
{ "collectionsharded": "events", "ok" : 1 }
474474

@@ -477,13 +477,13 @@ issue the following group of shard operations in the Python/PyMongo shell:
477477

478478
.. code-block:: python
479479

480-
db.command('shardcollection', 'stats.daily', {
480+
db.command('shardCollection', 'stats.daily', {
481481
'key': { '_id': 1 } })
482-
db.command('shardcollection', 'stats.weekly', {
482+
db.command('shardCollection', 'stats.weekly', {
483483
'key': { '_id': 1 } })
484-
db.command('shardcollection', 'stats.monthly', {
484+
db.command('shardCollection', 'stats.monthly', {
485485
'key': { '_id': 1 } })
486-
db.command('shardcollection', 'stats.yearly', {
486+
db.command('shardCollection', 'stats.yearly', {
487487
'key': { '_id': 1 } })
488488

489489
You should also update the ``h_aggregate`` map-reduce wrapper to

source/use-cases/inventory-management.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,9 @@ cart and inventory collections:
454454

455455
.. code-block:: pycon
456456

457-
>>> db.command('shardcollection', 'inventory'
457+
>>> db.command('shardCollection', 'inventory'
458458
... 'key': { '_id': 1 } )
459459
{ "collectionsharded" : "inventory", "ok" : 1 }
460-
>>> db.command('shardcollection', 'cart')
460+
>>> db.command('shardCollection', 'cart')
461461
... 'key': { '_id': 1 } )
462462
{ "collectionsharded" : "cart", "ok" : 1 }

source/use-cases/metadata-and-asset-management.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,10 +471,10 @@ Use the following operation at the Python/PyMongo shell:
471471

472472
.. code-block:: pycon
473473

474-
>>> db.command('shardcollection', 'cms.nodes', {
474+
>>> db.command('shardCollection', 'cms.nodes', {
475475
... key : { 'metadata.section': 1, 'metadata.slug' : 1 } })
476476
{ "collectionsharded": "cms.nodes", "ok": 1}
477-
>>> db.command('shardcollection', 'cms.assets.files', {
477+
>>> db.command('shardCollection', 'cms.assets.files', {
478478
... key : { 'metadata.section': 1, 'metadata.slug' : 1 } })
479479
{ "collectionsharded": "cms.assets.files", "ok": 1}
480480

@@ -484,7 +484,7 @@ shard the collection
484484

485485
.. code-block:: pycon
486486

487-
>>> db.command('shardcollection', 'cms.assets.chunks', {
487+
>>> db.command('shardCollection', 'cms.assets.chunks', {
488488
... key : { 'files_id': 1 } })
489489
{ "collectionsharded": "cms.assets.chunks", "ok": 1}
490490

source/use-cases/storing-comments.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ at the Python/PyMongo console:
700700

701701
.. code-block:: pycon
702702

703-
>>> db.command('shardcollection', 'comments', {
703+
>>> db.command('shardCollection', 'comments', {
704704
... 'key' : { 'discussion_id' : 1, 'full_slug': 1 } })
705705

706706
This will return the following response:
@@ -721,7 +721,7 @@ at the Python/PyMongo console:
721721

722722
.. code-block:: python
723723

724-
>>> db.command('shardcollection', 'comment_pages', {
724+
>>> db.command('shardCollection', 'comment_pages', {
725725
... key : { 'discussion_id' : 1, 'page': 1 } })
726726
{ "collectionsharded" : "comment_pages", "ok" : 1 }
727727

0 commit comments

Comments
 (0)