-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Minor rewrites #1436
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
Minor rewrites #1436
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -236,12 +236,11 @@ not cause concern. | |
How should administrators deal with failed migrations? | ||
------------------------------------------------------ | ||
|
||
Failed migrations require no administrative intervention. Chunk moves are | ||
consistent and deterministic. | ||
|
||
If a migration fails to complete for some reason, the :term:`cluster` | ||
will retry the operation. When the migration completes successfully, | ||
the data will reside only on the new shard. | ||
Failed migrations require no administrative intervention. Chunk | ||
migrations always preserve a consistent state. If a migration | ||
fails to complete for some reason, the :term:`cluster` retries | ||
the operation. When the migration completes successfully, the data | ||
resides only on the new shard. | ||
|
||
What is the process for moving, renaming, or changing the number of config servers? | ||
----------------------------------------------------------------------------------- | ||
|
@@ -355,28 +354,25 @@ To address this issue, MongoDB 2.4 provides :ref:`hashed shard keys | |
What do ``moveChunk commit failed`` errors mean? | ||
------------------------------------------------ | ||
|
||
Consider the following error message: | ||
At the end of a :ref:`chunk migration <sharding-chunk-migration>`, | ||
if the :term:`shard` fails to connect to the :term:`config database` | ||
to update the shard's chunk information, MongoDB issues the following | ||
error: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At the end of a :ref: |
||
|
||
.. code-block:: none | ||
|
||
ERROR: moveChunk commit failed: version is at <n>|<nn> instead of <N>|<NN>" and "ERROR: TERMINATING" | ||
|
||
:program:`mongod` issues this message if, during a :ref:`chunk | ||
migration <sharding-chunk-migration>`, the :term:`shard` could not | ||
connect to the :term:`config database` to update chunk information at | ||
the end of the migration process. If | ||
the shard cannot update the config database after | ||
:dbcommand:`moveChunk`, the cluster will have an inconsistent | ||
view of all chunks. In these situations, the :term:`primary` member of | ||
the shard will terminate | ||
itself to prevent data inconsistency. If the :term:`secondary` member | ||
can access the config database, the shard's data will be | ||
accessible after an election. Administrators will need to resolve the | ||
chunk migration failure independently. | ||
|
||
If you encounter this issue, contact the `MongoDB User Group | ||
<http://groups.google.com/group/mongodb-user>`_ or MongoDB support to | ||
address this issue. | ||
ERROR: moveChunk commit failed: version is at <n>|<nn> instead of | ||
<N>|<NN>" and "ERROR: TERMINATING" | ||
|
||
When this happens, the :term:`primary` member of the shard's replica | ||
set then terminates to protect data validity. If a :term:`secondary` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is really consistency (i.e. logical coherence of the database) and not validity (correctness of the data files). |
||
member can access the config database, data on the shard becomes | ||
accessible again after an election. | ||
|
||
The user will need to resolve the chunk migration failure | ||
independently. If you encounter this issue, contact the `MongoDB | ||
User Group <http://groups.google.com/group/mongodb-user>`_ or | ||
:about:`MongoDB Support </support>` to address this issue. | ||
|
||
How does draining a shard affect the balancing of uneven chunk distribution? | ||
---------------------------------------------------------------------------- | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed migrations require no administrative intervention. Chunk
migrations always preserve a consistent state. If a migration
fails to complete for some reason, the :term:
cluster
retriesthe operation. When the migration completes successfully, the data
resides only on the new shard.