Skip to content

Commit 433c15c

Browse files
author
Bob Grabar
committed
DOCS-519 mongoimport stopOnError option
1 parent 2fcb0af commit 433c15c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source/reference/mongoimport.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,8 @@ Options
214214

215215
.. versionadded:: 2.2
216216

217-
Forces :program:`mongoimport` to cease operation following after
218-
encountering the first error rather than continuing to import
219-
despite errors.
217+
Forces :program:`mongoimport` to stop importing at first error rather
218+
than continuing to import despite errors.
220219

221220
.. option:: --jsonArray
222221

source/release-notes/2.2.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,10 +389,11 @@ information:
389389
Write Concern Support for ``mongoimport`` and ``mongorestore``
390390
``````````````````````````````````````````````````````````````
391391

392-
With the :option:`--stopOnError <mongoimport --stopOnError>`,
393-
:program:`mongoimport` provides support for :ref:`write concern
394-
<write-concern>`. Now if the import process encounters an error (e.g. network,
395-
write error, etc), :program:`mongoimport` will
392+
:program:`mongoimport` now provides an option to stop import
393+
if the import process encounters an error (e.g. network,
394+
write error, etc).
395+
The :option:`--stopOnError <mongoimport --stopOnError>` option
396+
will
396397
produce an error rather than silently continue importing data. See
397398
:issue:`SERVER-3937` for more information.
398399

0 commit comments

Comments
 (0)