"data": "writer buffer bellow minimum. Buffer size must be at least 1." #99
-
Keep getting this error and the writer buffer is set to 3000000 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This looks to be a typo, in the error. The error is actually produced by the number of writer threads being specified being set to If you haven't explicitly set the number of writer threads to be A simple fix to try is to add the |
Beta Was this translation helpful? Give feedback.
-
I got this same problem in a deploy on fly.io |
Beta Was this translation helpful? Give feedback.
This looks to be a typo, in the error. The error is actually produced by the number of writer threads being specified being set to
0
.If you haven't explicitly set the number of writer threads to be
0
then this is probably the result of LNX failing to get the number of available cores on your machine, which causes it to default to0
.A simple fix to try is to add the
"writer_threads": 8
field in your schema creation payload, feel free to replace8
with a number that's more suited to your machine (normally the number of logical CPU cores on your machine)