Skip to content

fix spelling of splitable and theorem #101

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

Merged
merged 1 commit into from
Aug 2, 2012
Merged
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
8 changes: 4 additions & 4 deletions source/applications/replication.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ provides access to read preferences, which have the following names.
produce an error.

The :readmode:`primary` mode sacrifices availability for
consistency, in terms of the :term:`CAP Theorm`.
consistency, in terms of the :term:`CAP Theorem`.

.. readmode:: primaryPrefered

Expand All @@ -224,7 +224,7 @@ provides access to read preferences, which have the following names.
specified tags, this read operation will produce an error.

The :readmode:`primaryPrefered` mode sacrifices consistency for
greater availability, in terms of the :term:`CAP Theorm`.
greater availability, in terms of the :term:`CAP Theorem`.

.. readmode:: secondary

Expand All @@ -246,7 +246,7 @@ provides access to read preferences, which have the following names.
set, this read operation will produce an error.

The :readmode:`secondary` mode sacrifices consistency for
greater availability, in terms of the :term:`CAP Theorm`.
greater availability, in terms of the :term:`CAP Theorem`.

.. readmode:: secondaryPrefered

Expand All @@ -264,7 +264,7 @@ provides access to read preferences, which have the following names.
set, this read operation will produce an error.

The :readmode:`secondaryPrefered` mode sacrifices consistency for
greater availability, in terms of the :term:`CAP Theorm`.
greater availability, in terms of the :term:`CAP Theorem`.

.. readmode:: nearest

Expand Down
6 changes: 3 additions & 3 deletions source/core/sharding-internals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ stores address records:
number of fixed chunks. This may have a number of effects:

- If MongoDB cannot split a chunk because all of its documents
have the same shard key, migrations involving these un-splittable
have the same shard key, migrations involving these un-splitable
chunks will take longer than other migrations, and it will be more
difficult for your data to stay balanced.

Expand All @@ -60,7 +60,7 @@ stores address records:
While this field has a large number of possible values, and thus has
potentially higher cardinality, it's possible that a large number of users
could have the same value for the shard key, which would make this
chunk of users un-splittable.
chunk of users un-splitable.

In these cases, cardinality depends on the data. If your address book
stores records for a geographically distributed contact list
Expand Down Expand Up @@ -165,7 +165,7 @@ To select a shard key for a collection:

If this field has low cardinality (i.e not sufficiently
selective) you should add a second field to the shard key making a
compound shard key. The data may become more splittable with a
compound shard key. The data may become more splitable with a
compound shard key.

.. see:: ":ref:`sharding-mongos`" for more information on query
Expand Down
2 changes: 1 addition & 1 deletion source/reference/glossary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ Glossary

.. versionadded:: 2.2

CAP Theorm
CAP Theorem
Given three properties of computing systems, consistency,
availability, and partition tolerance, a distributed computing
system can provide any two of these features, but never all
Expand Down
2 changes: 1 addition & 1 deletion source/use-cases/product-catalog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ actual activity and distribution. Consider that:

- you should include one or more fields in the ``detail`` document
that you query frequently, and a field that has quasi-random
features, to prevent large unsplittable chunks.
features, to prevent large unsplitable chunks.

In the following example, assume that the ``details.genre`` field is
the second-most queried field after ``type``. Enable sharding using
Expand Down