Bug: websockets Rust SDK doesn't error on large queries #2965
Labels
bug
Something isn't working
topic:rust
This is related to the Rust embedded library
topic:stability
This is related to stability issues: abnormal resource usage, unexpected errors, etc
Describe the bug
when doing a
select *
from a table with 1m+ records, I get the errorError: Api(InternalError("receiving on a closed channel")
With this error in the logs
WebSocket error: Error { inner: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }) }
Steps to reproduce
Run this code on large table, 1m+ records
Expected behaviour
Ideally return the data, alternatively a more descriptive error explaining why it didn't work.
SurrealDB version
1.0.0+20230913.54aedcd for macos on aarch64
Contact Details
alexander.fridriksson@surrealdb.com
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: