Open unidesigner opened 9 months ago
Hi @unidesigner
It looks like you are still using surrealdb beta9 (1.0.0-beta.9+20230402.5eafebd). Is it a miscopy? If not, can you try to update to the latest version of surrealdb and see if it changes anything.
In the same time, a 67MB migration is very huge. I may need to consider this edge case scenario and try to find a suitable solution when this is needed.
Hi @Odonno
Yes, it was a miscopy, I'm actually using 1.0.0+20230913.54aedcd for linux on x86_64
Hmm, I don't think it's that huge of a migration, it just inserts about 200k records. When I'm running it in a transaction with surreal import
it imports within a couple of seconds (using http endpoint). So I don't see why this should not be working with surrealdb-migrations. Here's the migration file for testing. Thanks for looking into it!
Hi @Odonno
Do you think it will be straightforward to implement support for this edge case scenario? What are your thoughts on this issue?
Describe the bug
Running a migration file of size 67MB fails with error below. I also see a debug error from surreal binary:
WebSocket error: Error { inner: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }) }
. I wonder if this has to do with https://github.com/surrealdb/surrealdb/issues/2965To Reproduce
I can share the file if necessary.
Expected behavior
Run the migration.
Information
Additional context
Could it be related to WEBSOCKET_MAX_FRAME_SIZE being only 16MB see here.