Skip to content

Commit 61b048d

Browse files
author
Sam Kleinman
committed
minor: typo fix
1 parent db2ec72 commit 61b048d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aspiration/use-cases/cms-metadata-and-asset-management.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,16 +475,16 @@ Use the following operation at the Python/PyMongo shell:
475475
>>> db.command('shardcollection', 'cms.assets.files', {
476476
... key : { 'metadata.section': 1, 'metadata.slug' : 1 } })
477477

478-
To shard the ``cms.assetsf.chunks`` collection, you must use the
478+
To shard the ``cms.assets.chunks`` collection, you must use the
479479
``_id`` field as the :term:`shard key`. The following operation will
480-
shard the collection:
480+
shard the collection
481481

482482
.. code-block:: pycon
483483

484484
>>> db.command('shardcollection', 'cms.assets.chunks')
485485

486486
If you do not specific a shard key, when using the
487487
:dbcommand:`shardcollection` command, MongoDB will shard based on the
488-
``_id`` field. This also ensures routable queries becasue all reads
488+
``_id`` field. This also ensures routable queries because all reads
489489
from GridFS must first look up the document in ``cms.assets.files``
490490
and then look up the chunks separately.

0 commit comments

Comments
 (0)