Skip to content

Commit a4d3f39

Browse files
committed
DOCS-475 nonAtomic option documentation
1 parent 3b93bbe commit a4d3f39

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/reference/command/mapReduce.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,17 @@ mapReduce
123123
enabled, the map-reduce operation will shard the
124124
results collection according to the ``_id`` field.
125125

126+
:param nonAtomic:
127+
128+
.. versionadded:: 2.1
129+
130+
Optional. Specify output operation as non-atomic such that
131+
the output behaves like a normal ``multi`` :method:`update()
132+
<db.collection.update()>`. The option is valid only for
133+
``merge`` and ``reduce`` output operations. If ``true``, post
134+
processing step will not be executed under the write lock,
135+
and partial results will be visible as they are processed.
136+
126137
.. seealso:: ":method:`mapReduce()`" and ":term:`map-reduce`."
127138

128139
Also, the ":wiki:`MapReduce` page, provides a greater overview

0 commit comments

Comments
 (0)