-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
4.4.0rc2: read() called while another coroutine is already waiting for incoming data #2407
Comments
@mainframeindustries or @utkarshgupta137 Can I ask you for a hand here? I've traced down to the the change here (#2308) - combined with the stack trace above. I think it's related to how arq configures it's connection by default - and a retry should be configured. But honestly, weak in async. |
@chayim I'm not very familiar with non-cluster parts, but I'll take a look. @JonasKs Can you share a minimum example? From what I can tell, it could be related to running 2 operations on the same pipeline in parallel. I think it is an unsupported (& unsound?) operation. Can you try creating 2 pipelines & then using asyncio.gather? |
I'm on vacation, so I can't really until a week or two. I think this demo script should work though: https://github.com/samuelcolvin/arq/blob/main/docs/examples/main_demo.py See docs here (The example does not configure redis port and uses the default port, but you can change it by using redis_settings) |
Hi all, thanks for reporting this and notifying me. I'm pretty busy until Wednesday - I can review a PR, but I won't be able to look into this further until the end of the week. Is there any particular reason not to delay the release until the end of the week? |
Just to be clear, since I helped someone else with a bug like this earlier, pipelines should be dedicated for collected use. Agreed. FWIW I think it's a usage bug, but I wanted another set of eyes rather than trigger a poor release.
@samuelcolvin We have a lot of asks (awesome!) from the community, and we'd love to get 4.4.x out the door, since this is the biggest release since 4.1.4, maybe beforehand. But, a 4.3.5 is about to land - we cherry-picked several items, so in my mind this reduces the pressure. With 4.3.5 coming out soon, I don't feel pressured to release this right away. But, I'd love to close it off, and could definitely use a hand! |
I believe this can be closed now? |
Indeed. IMHO we can close this. We can even release down 4.4.0 now. That'll come shortly. Thanks everyone! |
Hi there 👋 I was running the demo example and run into this issue: Versions
|
I had the same problem with this version |
same here, with version 4.5.4 |
same |
Please create a new issue, with your own up to date stack trace and findings. I do no longer experience this, it's impossible for anyone to troubleshoot on the words "same". |
Version: 4.4.0rc2
Platform: MacOS and Windows. Python 3.10.6.
Description: We've noticed that we are no longer able to
enqueue_job()
witharq
. All of this works in4.4.0rc1
.I can try to provide a reproducible example later if you'd like, but that would require
arq
as a dependency.The text was updated successfully, but these errors were encountered: