Skip to content

Commit 3fda148

Browse files
nerpaulaSimran-B
andauthored
Release notes: --max-errors option for arangoimport (#395)
* arangoimport max errors * Review --------- Co-authored-by: Simran Spiller <[email protected]>
1 parent 8819b5a commit 3fda148

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,21 @@ This following startup options of arangodump are obsolete from ArangoDB 3.12 on:
248248
time range with the MMFiles storage engine. It had no effect for the RocksDB
249249
storage engine and so it is removed now.
250250

251+
251252
### arangoimport
252253

254+
#### Maximum number of import errors
255+
256+
The new `--max-errors` startup option limits the amount of errors displayed by
257+
_arangoimport_, and the import is stopped when this value is reached.
258+
The default value is `20`.
259+
260+
Previously, the import would continue even when there were many errors. To
261+
achieve a similar behavior with the new version, set the value of `--max-errors`
262+
to a high value.
263+
264+
#### Automatic file format detection
265+
253266
*arangoimport* now automatically detects the type of the import file based on
254267
the file extension. The default value of the `--type` startup option has been
255268
changed from `json` to `auto`. You might need to explicitly specify the `--type`

site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,18 @@ collections:
588588

589589
### arangoimport
590590

591+
#### Maximum number of import errors
592+
593+
The following startup option has been added to _arangoimport_:
594+
595+
- `--max-errors`: The maximum number of errors after which the import is stopped.
596+
The default value is `20`.
597+
598+
You can use this option to limit the amount of errors displayed by _arangoimport_,
599+
and to abort the import after this value has been reached.
600+
601+
#### Automatic file format detection
602+
591603
The default value for the `--type` startup option has been changed from `json`
592604
to `auto`. *arangoimport* now automatically detects the type of the import file
593605
based on the file extension.

0 commit comments

Comments
 (0)