Skip to content

Update Bulk Writes for Sharded Environments #1892

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

Closed
wants to merge 1 commit into from
Closed
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: 8 additions & 0 deletions source/release-notes/2.6-compatibility.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ Description
:method:`db.collection.update()`, :method:`db.collection.save()`
and :method:`db.collection.remove()` for details.

- In sharded environments, :program:`mongos` no longer supports "fire and
forget" behavior. This limits throughput when writing data to sharded
clusters.

.. [#mongo-shell-gle-interactive]
In previous versions, when using the :program:`mongo` shell
interactively, the :program:`mongo` shell automatically called the
Expand All @@ -194,6 +198,10 @@ Solution
operations with "fire-and-forget" behavior should use the
:method:`Bulk()` methods.

In sharded environments, applications using any driver or
:program:`mongo` shell should use :method:`Bulk()` methods for optimal
performance.

For example, instead of:

.. code-block:: javascript
Expand Down