diff --git a/source/administration/monitoring.txt b/source/administration/monitoring.txt index a8ed1436764..9011a8d1b11 100644 --- a/source/administration/monitoring.txt +++ b/source/administration/monitoring.txt @@ -574,7 +574,7 @@ run using the :option:`--oplogSize ` argument to the :program:`mongod` command, or preferably the :setting:`oplogSize` in the MongoDB configuration file. If you do not specify this on the command line before running with the :option:`--replSet ` -option, :program:`mongod` will create an default sized oplog. +option, :program:`mongod` will create a default sized oplog. By default the oplog is 5% of total available disk space on 64-bit systems. diff --git a/source/core/gridfs.txt b/source/core/gridfs.txt index 1e5f4ead14d..81ec8c4405a 100644 --- a/source/core/gridfs.txt +++ b/source/core/gridfs.txt @@ -10,7 +10,7 @@ GridFS that exceed the :term:`BSON`\-document :ref:`size limit ` of 16MB. -Instead of storing a file in an single document, GridFS divides a file +Instead of storing a file in a single document, GridFS divides a file into parts, or chunks, [#chunk-disambiguation]_ and stores each of those chunks as a separate document. By default GridFS limits chunk size to 256k. GridFS uses two collections to store files. One diff --git a/source/core/sharded-cluster-internals.txt b/source/core/sharded-cluster-internals.txt index a5c50d3f292..91f00bffebd 100644 --- a/source/core/sharded-cluster-internals.txt +++ b/source/core/sharded-cluster-internals.txt @@ -314,7 +314,7 @@ field ``{ zipcode: 1, username: 1 }``, then: the ``username`` field. If you drop the last appropriate index for the shard key, recover - by recreating a index on just the shard key. + by recreating an index on just the shard key. .. _sharding-hashed-shard-key-internals: diff --git a/source/reference/aggregation/gt.txt b/source/reference/aggregation/gt.txt index fe685c5eaee..c6d9061b984 100644 --- a/source/reference/aggregation/gt.txt +++ b/source/reference/aggregation/gt.txt @@ -6,7 +6,7 @@ $gt (aggregation) .. expression:: $gt - Takes two values in an array and returns an boolean. The returned + Takes two values in an array and returns a boolean. The returned value is: - ``true`` when the first value is *greater than* the second value. diff --git a/source/reference/aggregation/gte.txt b/source/reference/aggregation/gte.txt index ff3957bc97e..5f6b4f34a01 100644 --- a/source/reference/aggregation/gte.txt +++ b/source/reference/aggregation/gte.txt @@ -6,7 +6,7 @@ $gte (aggregation) .. expression:: $gte - Takes two values in an array and returns an boolean. The returned + Takes two values in an array and returns a boolean. The returned value is: - ``true`` when the first value is *greater than or equal* to the diff --git a/source/reference/aggregation/lt.txt b/source/reference/aggregation/lt.txt index cf8b5d23a68..fcc8df85088 100644 --- a/source/reference/aggregation/lt.txt +++ b/source/reference/aggregation/lt.txt @@ -6,7 +6,7 @@ $lt (aggregation) .. expression:: $lt - Takes two values in an array and returns an boolean. The returned + Takes two values in an array and returns a boolean. The returned value is: - ``true`` when the first value is *less than* the second value. diff --git a/source/reference/aggregation/lte.txt b/source/reference/aggregation/lte.txt index 7fce3607157..6a2f1007b06 100644 --- a/source/reference/aggregation/lte.txt +++ b/source/reference/aggregation/lte.txt @@ -6,7 +6,7 @@ $lte (aggregation) .. expression:: $lte - Takes two values in an array and returns an boolean. The returned + Takes two values in an array and returns a boolean. The returned value is: - ``true`` when the first value is *less than or equal to* the diff --git a/source/reference/aggregation/ne.txt b/source/reference/aggregation/ne.txt index 196c2e0b6ed..122a7321ddc 100644 --- a/source/reference/aggregation/ne.txt +++ b/source/reference/aggregation/ne.txt @@ -6,7 +6,7 @@ $ne (aggregation) .. expression:: $ne - Takes two values in an array returns an boolean. The returned value + Takes two values in an array returns a boolean. The returned value is: - ``true`` when the values are **not equivalent**. diff --git a/source/reference/method/cursor.sort.txt b/source/reference/method/cursor.sort.txt index f09c71d1e5b..28c0b58f774 100644 --- a/source/reference/method/cursor.sort.txt +++ b/source/reference/method/cursor.sort.txt @@ -33,7 +33,7 @@ cursor.sort() one (e.g. ``-1``), as above, to sort in descending order or a positive value (e.g. ``1``) to sort in ascending order. - Unless you have a index for the specified key pattern, use + Unless you have an index for the specified key pattern, use :method:`cursor.sort()` in conjunction with :method:`cursor.limit()` to avoid requiring MongoDB to perform a large, in-memory sort. :method:`cursor.limit()` increases the speed and reduces the amount diff --git a/source/reference/method/rs.addArb.txt b/source/reference/method/rs.addArb.txt index 09033e75e73..6f6b13fe54a 100644 --- a/source/reference/method/rs.addArb.txt +++ b/source/reference/method/rs.addArb.txt @@ -7,7 +7,7 @@ rs.addArb() .. method:: rs.addArb(hostname) :param string host: Specifies a host (and optionally port-number) - for a arbiter member for the replica set. + for an arbiter member for the replica set. Adds a new :term:`arbiter` to an existing replica set. diff --git a/source/reference/mongodump.txt b/source/reference/mongodump.txt index 95d8878a42b..af1145e1869 100644 --- a/source/reference/mongodump.txt +++ b/source/reference/mongodump.txt @@ -185,7 +185,7 @@ Options .. note:: - :option:`--oplog` only works against nodes that maintain a + :option:`--oplog` only works against nodes that maintain an :term:`oplog`. This includes all members of a replica set, as well as :term:`master` nodes in master/slave replication deployments. diff --git a/source/reference/operator/orderby.txt b/source/reference/operator/orderby.txt index 09896fd33e0..777eff39f00 100644 --- a/source/reference/operator/orderby.txt +++ b/source/reference/operator/orderby.txt @@ -29,7 +29,7 @@ $orderby ``-1``, as above) to sort in descending order or a positive value (e.g. ``1``) to sort in ascending order. - Unless you have a index for the specified key pattern, use + Unless you have an index for the specified key pattern, use :operator:`$orderby` in conjunction with :operator:`$maxScan` and/or :method:`cursor.limit()` to avoid requiring MongoDB to perform a large in-memory sort. The :method:`cursor.limit()` increases the diff --git a/source/tutorial/configure-replica-set-tag-sets.txt b/source/tutorial/configure-replica-set-tag-sets.txt index 92b830ff683..e6ecc17cd75 100644 --- a/source/tutorial/configure-replica-set-tag-sets.txt +++ b/source/tutorial/configure-replica-set-tag-sets.txt @@ -241,7 +241,7 @@ following: [#read-and-write-tags]_ {"dc.gto": "rack2", disk:"raid"} {"dc.va": "rack1", disk:"ssd", ssd: "installed" } -To target a read operation to a member of the replica set with an +To target a read operation to a member of the replica set with a disk type of ``ssd``, you could use the following tag set: .. code-block:: javascript diff --git a/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt b/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt index c07d9210bdc..c3d7088917f 100644 --- a/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt +++ b/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt @@ -55,7 +55,7 @@ recommended. Issue the following commands at the system prompt: virtualenv myproject Respectively, these commands: install the ``virtualenv`` program -(using ``pip``) and create a isolated python environment for this +(using ``pip``) and create an isolated python environment for this project (named ``myproject``.) To activate ``myproject`` environment at the system prompt, use the diff --git a/source/tutorial/write-a-tumblelog-application-with-flask-mongoengine.txt b/source/tutorial/write-a-tumblelog-application-with-flask-mongoengine.txt index fefd7a983c5..2b06ce4a023 100644 --- a/source/tutorial/write-a-tumblelog-application-with-flask-mongoengine.txt +++ b/source/tutorial/write-a-tumblelog-application-with-flask-mongoengine.txt @@ -52,7 +52,7 @@ recommended. Issue the following command at the system prompt: virtualenv myproject Respectively, these commands: install the ``virtualenv`` program -(using ``pip``) and create a isolated python environment for this +(using ``pip``) and create an isolated python environment for this project (named ``myproject``.) To activate ``myproject`` environment at the system prompt, use the diff --git a/source/use-cases/inventory-management.txt b/source/use-cases/inventory-management.txt index 433d9f4c14c..8e981c2593b 100644 --- a/source/use-cases/inventory-management.txt +++ b/source/use-cases/inventory-management.txt @@ -145,7 +145,7 @@ function operation. .. admonition:: The system does not trust that the available inventory can satisfy a request First this operation checks to make sure that the cart is - "active" before adding a item. Then, it verifies that the available + "active" before adding an item. Then, it verifies that the available inventory to satisfy the request before decrementing inventory. If there is not adequate inventory, the system removes the cart