Skip to content

2.4 release copy edits #752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/applications/read.txt
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ On Arrays and Subdocuments
``````````````````````````

The following operation finds all documents in the ``bios`` collection
and returns the the ``last`` field in the ``name`` subdocument and the
and returns the ``last`` field in the ``name`` subdocument and the
first two elements in the ``contribs`` array:

.. code-block:: javascript
Expand Down
2 changes: 1 addition & 1 deletion source/faq/developers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ adaptively adjust the amount of padding added to documents to prevent
document relocations following updates.

You can change the default :data:`~collStats.paddingFactor`
calculation by using the the :dbcommand:`collMod` command with the
calculation by using the :dbcommand:`collMod` command with the
:collflag:`usePowerOf2Sizes` flag. The :collflag:`usePowerOf2Sizes`
flag ensures that MongoDB allocates document space in sizes that are
powers of 2, which helps ensure that MongoDB can efficiently reuse
Expand Down
2 changes: 1 addition & 1 deletion source/faq/diagnostics.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If :program:`mongod` shuts down unexpectedly on a UNIX or UNIX-based
platform, and if :program:`mongod` fails to log a shutdown or error
message, then check your system logs for messages pertaining to MongoDB.
For example, for logs located in in ``/var/log/messages``,
use the the following commands:
use the following commands:

.. code-block:: sh

Expand Down
2 changes: 1 addition & 1 deletion source/meta/build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ The build system contains the following 8 makefiles:

- *releases*: Describe targets for generating files for inclusion in
the installation have the versions of MongoDB automatically baked
into the their text.
into their text.

- *errors*: Special processing of the HTTP error pages.

Expand Down
2 changes: 1 addition & 1 deletion source/reference/explain.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Core Explain Output
.. data:: explain.indexOnly

:data:`~explain.indexOnly` is a boolean value that returns ``true``
when the the query is :ref:`covered <indexes-covered-queries>` by
when the query is :ref:`covered <indexes-covered-queries>` by
the index indicated in the :data:`~explain.cursor` field. When an
index covers a query, MongoDB can both match the :ref:`query
conditions <read-operations-query-document>` **and** return the
Expand Down
2 changes: 1 addition & 1 deletion source/reference/glossary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ Glossary
different points:

- :term:`Initial sync` occurs when MongoDB creates new databases on a
new or restored :term:`replica set` member, populating the the
new or restored :term:`replica set` member, populating the
member with the replica set's data.

- "Replication" occurs continually after initial sync and keeps
Expand Down
2 changes: 1 addition & 1 deletion source/reference/replica-configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ disk type of ``ssd``, you could use the following tag set:
However, to create comparable write concern modes, you would specify a
different set of
:data:`~local.system.replset.settings.getLastErrorModes`
configuration. Consider the the following sequence of operations in
configuration. Consider the following sequence of operations in
the :program:`mongo` shell:

#. Create the replica set configuration object ``conf``:
Expand Down
6 changes: 3 additions & 3 deletions source/tutorial/limit-number-of-elements-in-updated-array.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Consider the following document in the collection ``students``:
]
}

The the following update uses the :operator:`$push` operator with:
The following update uses the :operator:`$push` operator with:

- the :operator:`$each` modifier to append to the array 2 new elements,

Expand All @@ -48,7 +48,7 @@ The the following update uses the :operator:`$push` operator with:
.. code-block:: javascript

db.students.update(
{ _id: 1 },
{ _id: 1 },
{ $push: { scores: { $each : [
{ attempt: 3, score: 7 },
{ attempt: 4, score: 4 }
Expand Down Expand Up @@ -76,7 +76,7 @@ the ``scores`` array:
"scores" : [
{ "attempt" : 3, "score" : 7 },
{ "attempt" : 2, "score" : 8 },
{ "attempt" : 1, "score" : 10 }
{ "attempt" : 1, "score" : 10 }
]
}

Expand Down