Skip to content
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

Timeout in query with many parentheses #650

Open
DominicWuest opened this issue Apr 18, 2024 · 0 comments
Open

Timeout in query with many parentheses #650

DominicWuest opened this issue Apr 18, 2024 · 0 comments
Labels

Comments

@DominicWuest
Copy link

When running the following query:

RETURN (((((((((((((((((((((((0)))))))))))))))))))))))

I encountered the following error:

read tcp [::1]:<PORT>->[::1]:6379: i/o timeout

I believe the query mentioned above is semantically and syntactically correct and thus no error should be thrown here.

It seems like this points to a potential performance issue, as when removing parentheses, the query execution time accelerates.
Additionally, on other systems, the query wasn't enough to induce the error message, but after adding more parentheses, it appeared.

I encountered this issue when testing queries on the FalkorDB master branch in a Docker container running redis:7.2.3-bookworm.

Steps to reproduce

Run the following query and observe it throws an error:

RETURN (((((((((((((((((((((((0)))))))))))))))))))))))

Expected behavior

The query should run successfully

Actual behavior

The query fails with the error message read tcp [::1]:<PORT>->[::1]:6379: i/o timeout

@gkorland gkorland added good first issue Good for newcomers x:perf and removed good first issue Good for newcomers labels Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants