You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using kourou to dump my collection stored on elastic search the kourou cli fails on big collections.
The command that are failing are: kourou index:export
and kourou collection:export
Expected Behavior
I am supposed to be able to dump the whole collection directly into a JSONL format file
Current Behavior
The command kourou collection:export fails while exporting the data to a JSONL format file.
It seems the scroll API closes itself before the whole collection has been retrieved.
Possible Solution
I suspect that the sharding starts to fails on elastic search on big collections.
Steps to Reproduce
Try to dump a collection that has more than 17000 documents insides, and export it to a JSONL file using the kourou collection:export command
Context (Environment)
Trying to extract my data stored using kuzzle framework into jsonL files.
Indeed it solves the issue. Would be a nice trick to extend the default of scrollTTL.
Is there any particular reason why it is set with such a short expiring term ?
Indeed it solves the issue. Would be a nice trick to extend the default of scrollTTL. Is there any particular reason why it is set with such a short expiring term ?
No particular reason, it will be extended in the next version 👍 Thanks for rising the issue
Using kourou to dump my collection stored on elastic search the kourou cli fails on big collections.
The command that are failing are:
kourou index:export
and
kourou collection:export
Expected Behavior
I am supposed to be able to dump the whole collection directly into a JSONL format file
Current Behavior
The command kourou collection:export fails while exporting the data to a JSONL format file.
It seems the scroll API closes itself before the whole collection has been retrieved.
Possible Solution
I suspect that the sharding starts to fails on elastic search on big collections.
Steps to Reproduce
Try to dump a collection that has more than 17000 documents insides, and export it to a JSONL file using the kourou collection:export command
Context (Environment)
Trying to extract my data stored using kuzzle framework into jsonL files.
Kuzzle version: 2.18.1
Node.js version: 16.15.1
SDK version: 7.10.1
The text was updated successfully, but these errors were encountered: