You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks! This definitely sorted out a really bad issue where .retry would send the message back to the wrong exchange.
There's still an issue with the amqp result backend though, probably something I missed when
I converted the AMQP backend to inherit from the RPC backend (previously it was the other way around).
The issue is not with chord specifically in this case, the issue seems to be with joining any group:
Works for me now! The async backends actually start consuming results from when you call the task, and the old deprecated amqp result backend require messages not to be acked when polling for status (e.g. result.ready(), since multiple consumers may need the same result (e.g chords poll result s in a task retry loop, so cannot lose result messages between the loop).
Much easier to just revert the amqp result backend to the old behavior, since we don't want people to be using it anyway.
Activity
ask commentedon Sep 8, 2016
Thanks! This definitely sorted out a really bad issue where .retry would send the message back to the wrong exchange.
There's still an issue with the amqp result backend though, probably something I missed when
I converted the AMQP backend to inherit from the RPC backend (previously it was the other way around).
The issue is not with chord specifically in this case, the issue seems to be with joining any group:
If the result wasn't ready, .get() should not return and none of the values should be None.
Good news: I fixed the RPC result backend, Bad news: I broke the amqp result backend.
The "amqp" result backend is deprecated now and nobody should be using it, but should definitely
fix this issue. I'll be working on it.
AMQP: Respect exchange='' as an argument to apply_async (related to #…
Use str(Retry) to properly display retry time (related to #3330)
ask commentedon Sep 8, 2016
Works for me now! The async backends actually start consuming results from when you call the task, and the old deprecated amqp result backend require messages not to be acked when polling for status (e.g. result.ready(), since multiple consumers may need the same result (e.g chords poll result s in a task retry loop, so cannot lose result messages between the loop).
Much easier to just revert the amqp result backend to the old behavior, since we don't want people to be using it anyway.