We are using node-clickhouse and creating batches of insert values like
INSERT INTO .... values (), (), ()...
and so on.
After a certain batch size, the database starts to complain with the following error
Error: Chunk size is too large (version 21.3.2.5 (official build))
code: 307,
scope: 'DB::Exception:'
While researching more on this problem, I found the following thread
ClickHouse/ClickHouse#21907
which seemed to suggest it could be related to chunk headers. Can submit a script to try and reproduce the issue.
Thanks