Skip to content

Commit e62a39f

Browse files
author
Ed Costello
committed
Mass typo cleanup, ran entire document lib through spell check.
also fixed spelling of several commands and options after verifying in source (eg: --jsonnp changed to --jsonp)
1 parent b02f35e commit e62a39f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+92
-91
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ build/*
44
\#*#
55
*__pycache__*
66
*.pyc
7+
*.bak

source/about.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ About MongoDB
1111

1212
MongoDB is a :term:`document`-oriented database management system
1313
designed for performance, horizontal scalability, high
14-
availability, and advanced queryabiliy. See the following :wiki:`wiki
14+
availability, and advanced queryability. See the following :wiki:`wiki
1515
pages <>` for more information about MongoDB:
1616

1717
- :wiki:`Introduction`
@@ -65,7 +65,7 @@ via "|hardlink|" and you can always reference the commit of the
6565
current manual in the :hardlink:`release.txt` file.
6666

6767
The most up-to-date, current, and stable version of the manual is
68-
always avalible at "http://docs.mongodb.org/manual/."
68+
always available at "http://docs.mongodb.org/manual/."
6969

7070
Contributing to the Documentation
7171
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -100,6 +100,6 @@ necessary Sphinx extensions and build tools, are available in the same
100100
repository as the documentation.
101101

102102
You can view the documentation style guide and the build instructions
103-
in reSturctured Text files in the top-level of the `documentation
103+
in reStructured Text files in the top-level of the `documentation
104104
repository <https://github.com/mongodb/docs>`_. If you have any
105105
questions, please feel free to open a :issue:`Jira Case <DOCS>`.

source/administration/backups.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ reliably, and typically provide the easiest backup systems method to
108108
implement.
109109

110110
Snapshots work by creating pointers between the live data and a
111-
special snapshot volume: these pointers are theoretically equivelent
111+
special snapshot volume: these pointers are theoretically equivalent
112112
to "hard links." Then, as the working data diverges from the snapshot,
113113
the snapshot process uses a copy-on-write strategy. As a result the snapshot
114114
only stores modified data.
@@ -469,7 +469,7 @@ example:
469469

470470
.. code-block:: sh
471471

472-
mongodump --host mongodb1.example.net --port 3017 --username user --password pass /opt/backup/mongodumpm-2011-10-24
472+
mongodump --host mongodb1.example.net --port 3017 --username user --password pass /opt/backup/mongodump-2011-10-24
473473

474474
On any :program:`mongodump` command you may, as above specify username
475475
and password credentials to specify database authentication.
@@ -495,7 +495,7 @@ the dump. Consider the following example:
495495

496496
.. code-block:: sh
497497

498-
mongorestore --host mongodb1.example.net --port 3017 --username user --password pass /opt/backup/mongodumpm-2011-10-24
498+
mongorestore --host mongodb1.example.net --port 3017 --username user --password pass /opt/backup/mongodump-2011-10-24
499499

500500
On any :program:`mongorestore` command you may, as above specify
501501
username and password credentials as above.

source/administration/configuration.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ While both interfaces provide access the same collection of options
1515
and settings, this document primarily uses the configuration file
1616
interface. If you run MongoDB using a control script or packaged for
1717
your operating system, you likely already have a configuration file
18-
located at ``/etc/mogondb.conf``. Confirm this by checking the content
18+
located at ``/etc/mongodb.conf``. Confirm this by checking the content
1919
of the ``/etc/init.d/mongod`` or ``/etc/rc.d/mongod`` script to
2020
insure that the :term:`control scripts <control script>` start the
2121
:program:`mongod` with the appropriate configuration file (see below.)

source/administration/monitoring.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ Balancing and Chunk Distribution
428428
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
429429

430430
The most effective :term:`shard clusters <shard cluster>` require that
431-
:term:`chunks <chunk>` are evenly balanaced between the shards. MongoDB
431+
:term:`chunks <chunk>` are evenly balanced between the shards. MongoDB
432432
has a background :term:`balancer` process that distributes data such that
433433
chunks are always optimally distributed among the :term:`shards <shard>`.
434434
Issue the :func:`db.printShardingStatus()` or :func:`sh.status()`

source/administration/replica-sets.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ This operation sets the following:
321321

322322
If your replica set has an even number members, add an
323323
:ref:`arbiter <replica-set-arbiters>` to ensure that
324-
nodes wil be able to quickly obtain a majority of votes in an
324+
nodes will be able to quickly obtain a majority of votes in an
325325
:ref:`election <replica-set-elections>` for primary.
326326

327327
.. seealso:: ":data:`members[n].priority`" and ":ref:`Replica Set

source/administration/sharding.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ The procedure to remove a shard is as follows:
396396

397397
.. code-block:: javascript
398398

399-
{ msg: "remove shard completed succesfully" , stage: "completed", host: "mongodb0", ok : 1 }
399+
{ msg: "remove shard completed successfully" , stage: "completed", host: "mongodb0", ok : 1 }
400400

401401
Once the value of the ``stage`` field is "completed," you may safely
402402
stop the processes comprising the ``mongodb0`` shard.
@@ -516,7 +516,7 @@ To modify the chunk size, use the following procedure:
516516
To eliminate confusion you should *always* set chunk size using the
517517
above procedure and never use the runtime options.
518518

519-
Modifying the chunk size has serveral limitations:
519+
Modifying the chunk size has several limitations:
520520

521521
- Automatic splitting only occurs when inserting :term:`documents
522522
<document>` or updating existing documents.
@@ -668,7 +668,7 @@ be able to migrate chunks:
668668

669669
use config
670670

671-
#. Use an operation modeled on the folloiwng example :func:`update()
671+
#. Use an operation modeled on the following example :func:`update()
672672
<db.collection.update()>` operation to modify the balancer's
673673
window:
674674

source/core/replication.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Member Configurations
4949

5050
All replica sets at most use a single :term:`primary` member and one or
5151
more :term:`secondary` members. Replica sets allow you to configure
52-
secondary members in a variey of ways. This section describes uses and
52+
secondary members in a variety of ways. This section describes uses and
5353
functions of all the replica set member configurations.
5454

5555
.. seealso:: ":ref:`Replica Set Node Configurations

source/core/sharding-internals.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ key, all insert operations will be storing data into a single chunk, and
102102
therefore, a single shard. As a result, the write capacity of this shard
103103
will define the effective write capacity of the cluster.
104104

105-
A shard key that increases monotonically will not hinder perforamnce
105+
A shard key that increases monotonically will not hinder performance
106106
if you have a very low insert rate, or if most of your write
107107
operations are :func:`update() <db.collection.update()>` operations
108108
distributed through your entire data set. Generally, choose shard keys
@@ -202,7 +202,7 @@ are:
202202
- to ensure that :program:`mongos` can isolate most queries to a specific
203203
:program:`mongod`.
204204

205-
Furethermore:
205+
Furthermore:
206206

207207
- Each shard should be a :term:`replica set`, if a specific
208208
:program:`mongod` instance fails, the replica set members will elect

source/faq/developers.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ disk more frequently, so that the above values resents a theoretical
7979
maximum.
8080

8181
However, by default, MongoDB uses a "lazy" strategy to write to
82-
disk. This is advantegous in situations where the database receives a
82+
disk. This is advantageous in situations where the database receives a
8383
thousand increments to an object within one second, MongoDB only needs
8484
to flush this data to disk once. In addition to the aforementioned
8585
configuration options, you can also use :dbcommand:`fsync` and
@@ -147,7 +147,7 @@ Why are MongoDB's data files so large?
147147

148148
MongoDB aggressively preallocates data files to reserve space and
149149
avoid file system fragmentation. You can use the :setting:`smallfiles`
150-
flag to modify the file prealocation strategy.
150+
flag to modify the file preallocation strategy.
151151

152152
.. seealso:: This wiki page that address :wiki:`MongoDB disk use <Excessive+Disk+Space>`.
153153

source/faq/fundamentals.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ indexes, is 2 gigabytes. For this reason, do not deploy MongoDB to
151151
production on 32-bit machines.
152152

153153
If you're running a 64-bit build of MongoDB, there's virtually no
154-
limit to storage size. For production deployments, 64-bit builts and
154+
limit to storage size. For production deployments, 64-bit builds and
155155
operating systems are strongly recommended.
156156

157157
.. seealso:: "`Blog Post: 32-bit Limitations <http://blog.mongodb.org/post/137788967/32-bit-limitations>`_

source/faq/replica-sets.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ for :term:`primary` but do not replicate the data like
159159

160160
:term:`Replica sets <replica set>` require a majority of the
161161
original nodes present to elect a primary. Arbiters allow you
162-
to construct this majorty without the overhead of adding replicating
162+
to construct this majority without the overhead of adding replicating
163163
nodes to the system.
164164

165165
There are many possible replica set :doc:`architectures

source/faq/sharding.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ clients decreases.
173173

174174
This can lead to an unused :program:`mongos` with a large number open
175175
of connections. If the :program:`mongos` is no longer in use, you're
176-
safe restaring the process to close existing connections.
176+
safe restarting the process to close existing connections.
177177

178178
Where does MongoDB report on connections used by ``mongos``?
179179
------------------------------------------------------------

source/reference/aggregation.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ These aggregation operations are all accessible by way of the
1515
:mongodb:func:`aggregate()`. While all examples in this document use this
1616
function, :mongodb:func:`aggregate()` is merely a wrapper around the
1717
:term:`database command` :mongodb:dbcommand:`aggregate`. Therefore the
18-
following prototype aggregate are equivelent:
18+
following prototype aggregate are equivalent:
1919

2020
.. code-block:: javascript
2121

@@ -583,7 +583,7 @@ The current pipeline operators are:
583583
.. This command reads all documents in the ``users`` collection and
584584
.. writes them to the ``users2`` collection. The documents are then
585585
.. returned by the aggregation framework in an array, which is the
586-
.. default beh avior.
586+
.. default behavior.
587587

588588
.. _aggregation-expression-operators:
589589

source/reference/collection-statistics.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Fields
5050

5151
.. stats:: ns
5252

53-
The namepsace of the current collection, which follows the format
53+
The namespace of the current collection, which follows the format
5454
``[database].[collection]``.
5555

5656
.. stats:: count

source/reference/commands.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,7 @@ Administration
16541654

16551655
kill -SIGUSR1 2200
16561656

1657-
The rotated files will have a timestamp appended to the filneame.
1657+
The rotated files will have a timestamp appended to the filename.
16581658

16591659
.. note::
16601660

@@ -2350,9 +2350,9 @@ Other Commands
23502350
Internal Use
23512351
------------
23522352

2353-
.. dbcommand:: avalibleQueryOptions
2353+
.. dbcommand:: availableQueryOptions
23542354

2355-
:dbcommand:`avalibleQueryOptions` is an internal command that is only
2355+
:dbcommand:`availableQueryOptions` is an internal command that is only
23562356
available on :program:`mongos` instances.
23572357

23582358
.. dbcommand:: closeAllDatabases

source/reference/configuration-options.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ Settings
279279
========= ===================================
280280

281281
You can use the :program:`mongosniff` tool to replay this output
282-
for investigation. Given a typical daiglog file, located at
282+
for investigation. Given a typical diaglog file, located at
283283
``/data/db/diaglog.4f76a58c``, you might use a command in the
284284
following form to read these files:
285285

@@ -337,7 +337,7 @@ Settings
337337
:program:`mongod` using IPv6 networks. :program:`mongod` disables
338338
IPv6 support by default in :program:`mongod` and all utilities.
339339

340-
.. setting:: jsonnp
340+
.. setting:: jsonp
341341

342342
*Default:* false
343343

@@ -716,7 +716,7 @@ Sharding Cluster Options
716716
value is 64 megabytes. Larger chunks may lead to an uneven
717717
distribution of data, while smaller chunks may lead to frequent and
718718
unnecessary migrations. However, in some circumstances it may be
719-
neccessary to set a different chunk size.
719+
necessary to set a different chunk size.
720720

721721
This setting only affects :program:`mongos` processes. Furthermore,
722722
:setting:`chunkSize` *only* sets the chunk size when initializing

source/reference/glossary.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ Glossary
697697
map-reduce
698698
A data and processing and aggregation paradigm consisting of a
699699
"map" phase that selects data, and a "reduce" phase that
700-
transforms the data. In MongoDB, you can run abitrary aggregations
700+
transforms the data. In MongoDB, you can run arbitrary aggregations
701701
over data using map-reduce.
702702

703703
.. seealso:: The ":wiki:`Map Reduce <MapReduce>`" wiki page for

source/reference/javascript.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ Data Aggregation
446446
the current document and an aggregation counter
447447
object.
448448

449-
:field inital: The starting value of the aggregation counter
449+
:field initial: The starting value of the aggregation counter
450450
object.
451451

452452
:field keyf: Optional. An optional function that returns a "key
@@ -851,7 +851,7 @@ Database
851851
function.
852852

853853
Provides the ability to run JavaScript code using the JavaScript
854-
engine embeded in the MongoDB instance. In this environment the
854+
engine embedded in the MongoDB instance. In this environment the
855855
value of the ``db`` variable on the server is the name of the
856856
current database.
857857

@@ -957,10 +957,10 @@ Database
957957

958958
.. function:: db.killOP(opid)
959959

960-
:param oppid: Specify an operation ID.
960+
:param opid: Specify an operation ID.
961961

962962
Terminates the specified operation. Use :func:`db.currentOp()`
963-
to find operations and their correspoinding ids.
963+
to find operations and their corresponding ids.
964964

965965
.. function:: db.listCommands()
966966

@@ -1534,11 +1534,11 @@ Sharding
15341534

15351535
[hostname]
15361536
[hostname]:[port]
1537-
[set]/[hosname]
1538-
[set]/[hosname],[hostname]:port
1537+
[set]/[hostname]
1538+
[set]/[hostname],[hostname]:port
15391539

15401540
You can specify shards using the hostname, or a hostname and port
1541-
combination if the shard is ruining on a non-standard port. A
1541+
combination if the shard is running on a non-standard port. A
15421542
:term:`replica set` can also function as a shard member. In these
15431543
cases supply :func:`addShard <sh.addShard()>` with the set name,
15441544
followed by at least one existing member of the set as a seed in a

source/reference/mongod.exe.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:program:`mongod.exe` Manual
77
============================
88

9-
Sypnosis
9+
Synopsis
1010
--------
1111

1212
:program:`mongod.exe` is the build of the MongoDB daemon

source/reference/mongod.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Synopsis
1010
--------
1111

1212
:program:`mongod` is the primary daemon process for the MongoDB
13-
system. It handles data requests, manages data format, and preforms
13+
system. It handles data requests, manages data format, and performs
1414
background management operations.
1515

1616
This document provides a complete overview of all command line options
@@ -35,7 +35,7 @@ Options
3535

3636
Returns the version of the :program:`mongod` daemon.
3737

38-
.. option:: --config <filname>, -f <filename>
38+
.. option:: --config <filename>, -f <filename>
3939

4040
Specifies a configuration file, that you can use to specify
4141
runtime-configurations. While the options are equivalent and
@@ -208,7 +208,7 @@ Options
208208
========= ===================================
209209

210210
You can use the :program:`mongosniff` tool to replay this output
211-
for investigation. Given a typical daiglog file, located at
211+
for investigation. Given a typical diaglog file, located at
212212
``/data/db/diaglog.4f76a58c``, you might use a command in the
213213
following form to read these files:
214214

@@ -256,7 +256,7 @@ Options
256256
networks. :program:`mongod` disables IPv6 support by default in
257257
:program:`mongod` and all utilities.
258258

259-
.. option:: --jsonnp
259+
.. option:: --jsonp
260260

261261
Permits :term:`JSONP` access via an HTTP interface. Consider the
262262
security implications of allowing this activity before enabling
@@ -296,7 +296,7 @@ Options
296296
option has no impact on the size of existing namespace files.
297297

298298
The default value is 16 megabytes, this provides for effectively
299-
12,000 possible namespace. The maximum size is 2 gigabytes.
299+
12,000 possible namespaces. The maximum size is 2 gigabytes.
300300

301301
.. option:: --profile <level>
302302

@@ -351,7 +351,7 @@ Options
351351
complete more quickly and will result in a more consistent and
352352
complete data set.
353353

354-
To continue the repair operation despite the journal files, shut
354+
To continue the repair operation despite the journal files, shut down
355355
:program:`mongod` cleanly and restart with the :option:`--repair`
356356
option.
357357

@@ -393,7 +393,7 @@ Options
393393

394394
.. option:: --syncdelay <value>
395395

396-
This setting contrils the maximum number of seconds between disk
396+
This setting controls the maximum number of seconds between disk
397397
syncs. While :program:`mongod` is always writing data to disk, this
398398
setting controls the maximum guaranteed interval between a
399399
successful write operation and the next time the database flushes
@@ -468,7 +468,7 @@ Master/Slave Replication
468468

469469
These options provide access to conventional master-slave database
470470
replication. While this functionality remains accessible in MongoDB,
471-
replica sets are the prefered configuration for database replication.
471+
replica sets are the preferred configuration for database replication.
472472

473473
.. option:: --master
474474

0 commit comments

Comments
 (0)