-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Safe change 703 #366
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
Safe change 703 #366
Changes from all commits
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 |
---|---|---|
|
@@ -32,8 +32,8 @@ moveChunk | |
chunk to. | ||
|
||
:param _secondaryThrottle: Optional. Set to ``false`` by | ||
default. Provides :ref:`write concern | ||
<write-concern>` support for chunk | ||
default. Provides :term:`write concern` | ||
support for chunk | ||
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. revert. the c++ driver is somewhat special cased in this case. |
||
migrations. | ||
|
||
If you set ``_secondaryThrottle`` to ``true``, during chunk | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -590,6 +590,9 @@ Glossary | |
set>`, you can configure write concern to confirm replication to a | ||
specified number of members. | ||
|
||
.. todo When draft/core/write-operations.txt goes live, add this below: | ||
:ref:`write-operations-write-concern` | ||
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. we can put :ref: |
||
|
||
.. seealso:: :ref:`Write Concern for Replica Sets <replica-set-write-concern>`. | ||
|
||
priority | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,12 @@ db.getLastError() | |
|
||
:returns: The last error message string. | ||
|
||
In many situation MongoDB drivers and users will follow a write | ||
operation with this command in order to ensure that the write | ||
succeeded. Use "safe mode" for most write operations. | ||
Sets the level of :term:`write concern` for confirming the success of write operations. | ||
|
||
.. QUESTION Should we list the parameters here? | ||
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. probably not, because it's all in :dbcommand: |
||
|
||
.. todo When draft/core/write-operations.txt goes live, add this to the seealso below: | ||
:ref:`write-operations-write-concern` | ||
|
||
.. seealso:: ":ref:`Replica Set Write Concern <replica-set-write-concern>`" | ||
and ":dbcommand:`getLastError`." |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -183,7 +183,7 @@ Options | |
|
||
.. versionadded:: 2.2 | ||
|
||
Specifies the :ref:`write concern <write-concern>` for each write | ||
Specifies the :term:`write concern` for each write | ||
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. I think it's probably right/preferable to link to :ref: |
||
operation that :program:`mongorestore` writes to the target | ||
database. By default, :program:`mongorestore` waits for the write | ||
operation to return on 1 member of the set (i.e. the | ||
|
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.
requiring additional (a majority?) members off the set confirm the write operation.