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

Bug: Frontend hangs and can't accept new connection #16837

Closed
chenzl25 opened this issue May 20, 2024 · 1 comment · Fixed by #16838 or #16861
Closed

Bug: Frontend hangs and can't accept new connection #16837

chenzl25 opened this issue May 20, 2024 · 1 comment · Fixed by #16838 or #16861
Labels
type/bug Something isn't working
Milestone

Comments

@chenzl25
Copy link
Contributor

Describe the bug

PR #15758 could cause the following query to run a very long time(e.g. 10s).
During the major time of 10s, the execution has no await point.

select true and true and true and true and true and true and true and true and true and true and true and true and true  and true  and true  and true  and true and true and true and true and true and true and true;

During the above SQL execution period, the frontend node fails to accept a new connection which is unexpected, because we use a multi-thread tokio run time. I suspected that the tokio runtime fails to steal work from one thread to another in this case, because after using an additional runtime to run listener.accept, the new connection could be accepted timely.

Error message/log

No response

To Reproduce

No response

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

No response

Additional context

No response

@chenzl25 chenzl25 added the type/bug Something isn't working label May 20, 2024
@github-actions github-actions bot added this to the release-1.10 milestone May 20, 2024
@BugenZhao
Copy link
Member

Could be related: #9019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
2 participants