Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8418815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:25:54+00:00 2026-06-10T02:25:54+00:00

In Celery 2, I had a TaskSet that was set up like the following:

  • 0

In Celery 2, I had a TaskSet that was set up like the following:

for (item,jobId) in itemsAndJobs:
    tasks.append(waitForOutput.subtask((jobId,item)))
job = TaskSet(tasks)
result = job.apply_async()

And then later on, I would check to see if the TaskSet had completed by checking:

job.ready() and job.successful()

This worked fine- the waitForOutput tasks would slowly move along, and then when they were all done the job check would complete. I could check multiple times without any problems.

In celery 3, I tried the quick and dirty way of changing this to a group by just changing

TaskSet(tasks)

to

group(tasks)

Unless I wait until all of the waitForOutput tasks to complete before I ever check ready and successful, this never works. ready() always returns false. I added some logging and a default retry of 30 seconds, and this is what I see-

  • start 5 waitForOutput jobs
  • check ready(), no waitForOutput jobs have completed, ready is false
  • 2 waitForOutput jobs complete
  • check ready(), ready is false, job.check_completed() is 2
  • check ready(), ready is false, job.check_completed() is 0
  • remaining 3 waitForOutput jobs complete
  • check ready(), ready is false, job.check_completed() is 3

I see the same behavior if I take my Celery 3 code and import TaskSet from task and use that instead of group.

I would love to be told I’m just using groups incorrectly!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T02:25:56+00:00Added an answer on June 10, 2026 at 2:25 am

    I solved this by moving to Redis as my result backend. It appears to be a bug with using AMQP as a result backend.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The Celery docs section Performance and Strategies suggests that tasks with multiple 'steps' should
Question I use celery to launch task sets that look like this: I perform
How do you set up celery (and rabbit) so that they can communicate over
I have a Django project that uses Celery for running asynchronous tasks. I'm doing
I have a system set up currently that is using celery with a redis
The background is that I've got a celery distributed job server configured with a
Building on this question: Django Celery Time Limit Exceeded? I have some tasks that
I am trying to get celery tasks wrapper around a python object method. Like:
I am using Celery 2.6.0rc5 , and getting the following error: [2012-06-22 23:01:42,016: ERROR/MainProcess]
I've a problem with celery's logger. I have a function that renders frames. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.