Skip to content

Commit 8434dee

Browse files
committed
DOCS-475 nonAtomic doc for mapReduce
1 parent 7a1d47f commit 8434dee

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

source/reference/command/mapReduce.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,11 @@ mapReduce
129129

130130
Optional. Specify output operation as non-atomic such that
131131
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.
132+
<db.collection.update()>`. If ``true``, post processing step
133+
will not be executed while locking the database, and partial
134+
results will be visible as they are processed. The option is
135+
valid only for ``merge`` and ``reduce`` output operations for
136+
which post processing can be a long operation.
136137

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

source/reference/method/db.collection.mapReduce.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,11 @@ db.collection.mapReduce()
159159

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

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

0 commit comments

Comments
 (0)