-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Timeout querying against SurrealDB 2.0 #397
Comments
Thanks for reporting this @faelau ! Are you connecting the
Are any of the following the case? If not, I can investigate further. Which version of SurrealDB 2.0 are you running? What types are the columns of the table that you're querying? |
Hi, sorry for the late response, was very sick.
It don't seem to be a network issue, I have tested that extensively. The connection URL in the config page is the same as used with The columns I'm querying are strings. The current version is
|
@faelau Thank you for confirming. Are you able to provide minimal set of steps to reliably reproduce this with a local version of SurrealDB 2.0? I am not able to reproduce this behaviour locally with SurrealDB v2.0.4. |
Hi, no problem! SurrealDB is installed like that with ArgoCD:
The database is created with a schema like that:
Simple queries like that are working with both
This command is only working with
|
@faelau Thank you very much for this! I'm able to get a clean reproduction of this issue locally. 🎉 It looks as if there is an issue with the It does look as if this might be an issue with the Go driver here, as I can get a consistent timeout from the driver with a minimal test case and the plugin side of the query seems to be working correctly. I will continue to investigate and update when I have more information. |
@faelau Unfortunately, it does indeed look like support for the v2.0 version of SurrealDB is still pending in the official Go driver. It looks like progress is being made on a new version, but there is currently not a timeline available for a new version of the driver to be released. Therefore, unfortunately, we are going to mark the datasource as compatible with v1.0 only for the time being. I have opened a tracking issue here for you to follow, which I'll update when v2.0 support is ready. Unfortunately, we didn't catch this one as the Thank you again for reporting your issue here! Apologies I've been unable to fix the issue for you at the moment, but I'll return to this as soon as I'm able to. |
The plugin is unable to issue queries against the two weeks ago released SurrealDB 2.0. Example query used for this bug report:
The queries are running in a timeout (nearly 50s):
The same query issued with the
surreal
CLI or Surrealist are returned very quickly and correct:The text was updated successfully, but these errors were encountered: