datalevin

liebs 2026-02-07T11:52:21.463899Z

Hey, very green with datalevin and datalog DBs in general so I imagine I'm just doing something silly but I am seeing a BufferOverflowException when using transact! On an apparently small vector of 251 strings. I'm inserting a map that looks like {:version-name "the-version" :data vector-of-strings}

Huahai 2026-02-07T16:34:48.771949Z

it's not clear what you are doing. post the transaction code

Huahai 2026-02-07T18:18:01.964799Z

the likely place to get bufferoverlyow is when key size is greater than the limit of 511 bytes.

liebs 2026-02-07T18:56:02.262719Z

I think it was a mistake on my part, I was able to clear up the issue by deleting the DB file and creating a new one. The old DB connection had a slightly different schema from the data I was trying to insert. Not sure if that was the real issue but I'm past it now.

Huahai 2026-02-07T19:00:55.965619Z

Please feel free to file a GitHub issue if it is something we can improve regarding input validation.