From 454ef70f9326c4a2e0c9972930ae1e0c94ee7d3f Mon Sep 17 00:00:00 2001 From: Paula Date: Mon, 18 Dec 2023 15:38:55 +1100 Subject: [PATCH 1/2] arangoimport max errors --- .../version-3.12/incompatible-changes-in-3-12.md | 12 ++++++++++++ .../release-notes/version-3.12/whats-new-in-3-12.md | 11 +++++++++++ 2 files changed, 23 insertions(+) diff --git a/site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md b/site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md index 36f8470dc1..bc220a177a 100644 --- a/site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md +++ b/site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md @@ -247,3 +247,15 @@ This following startup options of arangodump are obsolete from ArangoDB 3.12 on: - `--tick-end`: setting this option allowed to restrict the dumped data to some time range with the MMFiles storage engine. It had no effect for the RocksDB storage engine and so it is removed now. + +### arangorestore + +#### Maximum value for import errors + +The new `--max-errors` option has been introduced to limit the amount of errors +displayed by _arangoimport_. The default value is `20`. When this value is reached, +the import will stop. + +Previously, the import would continue even when there were many errors. To +achieve the same behavior with the new version, the value of `--max-errors` can +be set to a higher value. \ No newline at end of file diff --git a/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md b/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md index 9258bbae15..992f3e5ed2 100644 --- a/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md +++ b/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md @@ -512,5 +512,16 @@ _arangodump_ operations on the server: dump thread was blocked because it honored the server-side memory limit for dumps. +### arangoimport + +#### Maximum value for import errors + +The following option has been added to _arangoimport_: +- `--max-errors`: The maximum number of errors after which the import will stop. + The default value is `20`. + +You can use this option to limit the amount of errors displayed by _arangoimport_, +and to abort the import after this value has been reached. + ## Internal changes From fbc76b47b9cffc5cc14b46931c2653665eb783e2 Mon Sep 17 00:00:00 2001 From: Simran Spiller Date: Wed, 20 Dec 2023 14:14:55 +0100 Subject: [PATCH 2/2] Review --- .../version-3.12/incompatible-changes-in-3-12.md | 16 ++++++++-------- .../version-3.12/whats-new-in-3-12.md | 9 +++++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md b/site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md index f1bff4d67b..ed9fc5c738 100644 --- a/site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md +++ b/site/content/3.12/release-notes/version-3.12/incompatible-changes-in-3-12.md @@ -249,19 +249,19 @@ This following startup options of arangodump are obsolete from ArangoDB 3.12 on: storage engine and so it is removed now. -### arangorestore +### arangoimport -#### Maximum value for import errors +#### Maximum number of import errors -The new `--max-errors` option has been introduced to limit the amount of errors -displayed by _arangoimport_. The default value is `20`. When this value is reached, -the import will stop. +The new `--max-errors` startup option limits the amount of errors displayed by +_arangoimport_, and the import is stopped when this value is reached. +The default value is `20`. Previously, the import would continue even when there were many errors. To -achieve the same behavior with the new version, the value of `--max-errors` can -be set to a higher value. +achieve a similar behavior with the new version, set the value of `--max-errors` +to a high value. -### arangoimport +#### Automatic file format detection *arangoimport* now automatically detects the type of the import file based on the file extension. The default value of the `--type` startup option has been diff --git a/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md b/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md index 506ff3136e..3d53eb0d13 100644 --- a/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md +++ b/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md @@ -522,16 +522,17 @@ _arangodump_ operations on the server: ### arangoimport -#### Maximum value for import errors +#### Maximum number of import errors -The following option has been added to _arangoimport_: -- `--max-errors`: The maximum number of errors after which the import will stop. +The following startup option has been added to _arangoimport_: + +- `--max-errors`: The maximum number of errors after which the import is stopped. The default value is `20`. You can use this option to limit the amount of errors displayed by _arangoimport_, and to abort the import after this value has been reached. -#### File format automatically detected +#### Automatic file format detection The default value for the `--type` startup option has been changed from `json` to `auto`. *arangoimport* now automatically detects the type of the import file