Skip to content

Commit 83932aa

Browse files
author
Sam Kleinman
committed
DOCS-455 modifying admonition
1 parent 3a967e1 commit 83932aa

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

source/reference/mongorestore.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,17 @@ indexes on a restore. :program:`mongorestore` performs only inserts. If
1919
existing data with the same ``_id`` already exists on the database,
2020
:program:`mongorestore` will not replace it.
2121

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.
2533

2634
.. include:: /includes/note-mongodump-compatibility-2.2.rst
2735

0 commit comments

Comments
 (0)