Skip to content

Not atomic1 #266

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 3 commits into from
Sep 27, 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
12 changes: 12 additions & 0 deletions source/reference/command/mapReduce.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,18 @@ mapReduce
enabled, the map-reduce operation will shard the
results collection according to the ``_id`` field.

:param nonAtomic:

.. versionadded:: 2.1

Optional. Specify output operation as non-atomic such that
the output behaves like a normal ``multi`` :method:`update()
<db.collection.update()>`. If ``true``, post processing step
will not be executed while locking the database, and partial
results will be visible as they are processed. The option is
valid only for ``merge`` and ``reduce`` output operations for
which post processing can be a long operation.

.. seealso:: ":method:`mapReduce()`" and ":term:`map-reduce`."

Also, the ":wiki:`MapReduce` page, provides a greater overview
Expand Down
12 changes: 12 additions & 0 deletions source/reference/method/db.collection.mapReduce.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,18 @@ db.collection.mapReduce()
shard the results collection according to the
``_id`` field.

:param nonAtomic:

.. versionadded:: 2.1

Optional. Specify output operation as non-atomic such that
the output behaves like a normal ``multi`` :method:`update()
<db.collection.update()>`. If ``true``, post processing step
will not be executed while locking the database, and partial
results will be visible as they are processed. The option is
valid only for ``merge`` and ``reduce`` output operations for
which post processing can be a long operation.

.. seealso:: :term:`map-reduce`, provides a greater overview
of MongoDB's map-reduce functionality.

Expand Down