File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,17 @@ indexes on a restore. :program:`mongorestore` performs only inserts. If
19
19
existing data with the same ``_id`` already exists on the database,
20
20
:program:`mongorestore` will not replace it.
21
21
22
- The :program:`mongorestore` tool does "fire-n-forget" inserts and does
23
- not perform safe writes. Any errors that might happen during inserts are
24
- recorded only on the server logs and not reported in the tool.
22
+ The behavior of :program:`mongorestore` has the following properties:
23
+
24
+ - all operations are inserts, not updates.
25
+
26
+ - all inserts are "fire and forget," :program:`mongorestore` does not
27
+ wait for a response from a :program:`mongod` to ensure that the
28
+ MongoDB process has received or recorded the operation.
29
+
30
+ The :program:`mongod` will record any errors to its log that occur
31
+ during a restore operation but :program:`mongorestore` will not
32
+ receive errors.
25
33
26
34
.. include:: /includes/note-mongodump-compatibility-2.2.rst
27
35
You can’t perform that action at this time.
0 commit comments