-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running large migration file fails #62
Comments
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 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 |
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 surrealdb/surrealdb#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.
The text was updated successfully, but these errors were encountered: