Skip to content

Commit f023bcb

Browse files
kallimachoskay-kim
authored andcommitted
DOCS-11628 Add missing word and clarify phrasing
1 parent 25a15e1 commit f023bcb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/core/gridfs.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ can update the metadata field that indicates "latest" status in an
7474
atomic update after uploading the new version of the file, and later
7575
remove previous versions if needed.
7676

77-
Furthermore, if your files are all smaller the 16 MB :limit:`BSON
78-
Document Size` limit, consider storing the file manually within a
79-
single document instead of using GridFS. You may use the BinData data
80-
type to store the binary data. See your :doc:`drivers
81-
</applications/drivers>` documentation for details on using BinData.
77+
Furthermore, if your files are all smaller than the 16 MB :limit:`BSON
78+
Document Size` limit, consider storing each file in a single document instead
79+
of using GridFS. You may use the BinData data type to store the binary data.
80+
See your :doc:`drivers </applications/drivers>` documentation for details on
81+
using BinData.
8282

8383
.. index:: GridFS; initialize
8484
.. _gridfs-use:
@@ -316,12 +316,12 @@ index.
316316
``files_id`` is an :term:`objectid` and changes
317317
:ref:`monotonically<shard-key-monotonic>`.
318318

319-
You cannot use :doc:`/core/hashed-sharding` when sharding the ``chunks``
319+
You cannot use :doc:`/core/hashed-sharding` when sharding the ``chunks``
320320
collection.
321321

322322
The ``files`` collection is small and only contains metadata. None of the
323-
required keys for GridFS lend themselves to an even distribution in a
324-
sharded environment. If you *must* shard the ``files`` collection, use the
323+
required keys for GridFS lend themselves to an even distribution in a
324+
sharded environment. If you *must* shard the ``files`` collection, use the
325325
``_id`` field, possibly in combination with an application field.
326326

327327
Leaving ``files`` unsharded allows all the file metadata documents to live

0 commit comments

Comments
 (0)