Skip to content

Typo Run 33: a delightful collection for your edification #1684

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 1 commit 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/core/index-single.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ field.
Think of the ``_id`` field as the :term:`primary key` for a collection.
Every document *must* have a unique ``_id`` field. You may store any
unique value in the ``_id`` field. The default value of ``_id`` is an
:term:`ObjectId` on generated when the client inserts the document. An
:term:`ObjectId` which is generated when the client inserts the document. An
:term:`ObjectId` is a 12-byte unique identifier suitable for use
as the value of an ``_id`` field.

Expand Down
2 changes: 1 addition & 1 deletion source/core/read-operations-introduction.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ applications, include a :term:`projection` in the queries. By
projecting results with a subset of fields, applications reduce their
network overhead and processing requirements.

Projections, which are the the *second* argument to the
Projections, which are the *second* argument to the
:method:`~db.collection.find()` method, may either specify a list of
fields to return *or* list fields to exclude in the result documents.

Expand Down
2 changes: 1 addition & 1 deletion source/includes/steps-2.6-downgrade-replica-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ title:
character: "`"
ref: step-down-primary
pre: |
Use :method:`rs.stepDown()` in the the :program:`mongo` shell to
Use :method:`rs.stepDown()` in the :program:`mongo` shell to
step down the :term:`primary` and force the normal :ref:`failover
<replica-set-failover>` procedure.
action:
Expand Down
4 changes: 2 additions & 2 deletions source/includes/steps-2.6-upgrade-authorization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ action:
- heading:
text: Run ``authSchemaUpgrade`` command.
character: "'"
langauge: javascript
language: javascript
code: |
res = db.getSiblingDB("admin").runCommand({authSchemaUpgrade: 1 });
print(tojson(res));
Expand All @@ -37,7 +37,7 @@ action:
upgrade is complete. You can, however, override this behavior by
including ``upgradeShards: false`` in the command, as in the
following example:
langauge: javascript
language: javascript
code: |
res = db.getSiblingDB("admin").runCommand({authSchemaUpgrade: 1,
upgradeShards: false });
Expand Down
2 changes: 1 addition & 1 deletion source/includes/steps-2.6-upgrade-downgrade-procedure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ref: stop-mongod
pre: |
Use the :option:`--shutdown <mongod --shutdown>` option as follows:
action:
langauge: sh
language: sh
code: |
mongod --dbpath /var/mongod/data --shutdown
post: |
Expand Down
2 changes: 1 addition & 1 deletion source/includes/steps-2.6-upgrade-replica-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ title: Step down the replica set primary.
stepnum: 2
ref: upgrade-secondaries
content: |
Use :method:`rs.stepDown()` in the the :program:`mongo` shell to
Use :method:`rs.stepDown()` in the :program:`mongo` shell to
step down the :term:`primary` and force the set to :ref:`failover
<replica-set-failover>`. :method:`rs.stepDown()`
expedites the failover procedure and is preferable to shutting down
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: Copy the replica set configuration to a variable.
stepnum: 1
ref: copy-configration-object
ref: copy-configuration-object
pre: |
In the :program:`mongo` shell, use :method:`rs.conf()` to retrieve
the replica set configuration and assign it to a variable. For
Expand Down
2 changes: 1 addition & 1 deletion source/reference/operator/aggregation/redact.txt
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ The aggregation operation returns the following "redacted" document:
"status" : "A"
}

The result set shows that the the :pipeline:`$redact` stage excluded
The result set shows that the :pipeline:`$redact` stage excluded
the field ``cc`` as a whole, including the ``shipping_addr`` field
which contained subdocuments that had ``level`` field values equal to
``3`` and not ``5``.
Expand Down
2 changes: 1 addition & 1 deletion source/reference/operator/update/rename.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ elements.
Examples
--------

A collection ``students`` the the following document where a field
A collection ``students`` the following document where a field
``nmae`` appears misspelled, i.e. should be ``name``:

.. code-block:: javascript
Expand Down
2 changes: 1 addition & 1 deletion source/reference/operator/update/slice.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $slice

The ``<num>`` can be:

- **zero** to update the the array ``<field>`` to an empty array,
- **zero** to update the array ``<field>`` to an empty array,

- **negative** to update the array ``<field>`` to contain only the
last ``<num>`` elements, or
Expand Down
2 changes: 1 addition & 1 deletion source/release-notes/2.6-upgrade-authorization.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Sharded Clusters
````````````````

For a sharded cluster, connect to a :program:`mongos` and run the
upgrade procedure to upgrade the the cluster's authorization data. By
upgrade procedure to upgrade the cluster's authorization data. By
default, the procedure will upgrade the authorization data of the
shards as well.

Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/adjust-replica-set-member-priority.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Considerations
--------------

To modify priorities, you update the :data:`~local.system.replset.members`
array in the the replica configuration object. The array index begins with
array in the replica configuration object. The array index begins with
``0``. Do **not** confuse this index value with the value of the replica
set member's :data:`~local.system.replset.members[n]._id` field in the
array.
Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/manage-mongodb-processes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ operations, flushes all data to data files, and closes all data
files. Other shutdowns are *unclean* and can compromise the validity the
data files.

.. COMMENT add the following to the last sentence when the pargarph
.. COMMENT add the following to the last sentence when the paragraph
when maintain-valid-data-files is published.

and may lead to corruption. See
Expand Down