File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -284,16 +284,18 @@ and :doc:`/applications/indexes`.
284
284
Isolation
285
285
---------
286
286
287
- All operations inside of a *single* MongoDB document are atomic. An
288
- update operation may modify more than one sub-document within a single
289
- MongoDB document (or record) in a single operation that will either
290
- succeed or fail and cannot leave the document in an in-between state.
287
+ When a single write operation modifies multiple documents, the
288
+ operation as a whole is not atomic, but the modification of each
289
+ document is. The modification of a single Mongo document (or record)
290
+ remains atomic even if the write operation modifies more than one
291
+ sub-document *within* that document.
291
292
292
293
No other operations are atomic; however, you can attempt to isolate a
293
- sequence of write operations from other read and write operations to
294
- prevent undesirable interactions. For more information see
295
- :doc:`Isolated write operations </reference/operator/atomic>` and
296
- :doc:`/tutorial/perform-two-phase-commits`.
294
+ write operation that affects multiple documents using the :doc:`$atomic
295
+ isolation operator </reference/operator/atomic>`.
296
+
297
+ To isolate a sequence of write operations from other read and write
298
+ operations, see :doc:`/tutorial/perform-two-phase-commits`.
297
299
298
300
Architecture
299
301
------------
You can’t perform that action at this time.
0 commit comments