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

spawn_buffered will be dead-locked under current-thread tokio runtime #7206

Closed
viirya opened this issue Aug 5, 2023 · 0 comments · Fixed by #7205
Closed

spawn_buffered will be dead-locked under current-thread tokio runtime #7206

viirya opened this issue Aug 5, 2023 · 0 comments · Fixed by #7205
Labels
bug Something isn't working

Comments

@viirya
Copy link
Member

viirya commented Aug 5, 2023

Describe the bug

spawn_buffered function will use tokio context to spawn the execution of stream if tokio runtime is started. However, if the started runtime is current-thread and it is blocked on, spawned tasks could be possibly dead-locked.

To Reproduce

Constructs a tokio current-thread runtime and uses it to block on a physical query execution which has used spawn_buffered function, e.g., Sort.

Expected behavior

No response

Additional context

No response

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

Successfully merging a pull request may close this issue.

1 participant