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

Celery tasks intermittently not running. #5328

Closed
sheetaluk opened this issue Oct 2, 2018 · 3 comments
Closed

Celery tasks intermittently not running. #5328

sheetaluk opened this issue Oct 2, 2018 · 3 comments

Comments

@sheetaluk
Copy link
Contributor

Occasionally, a top-level annotation is not getting reindexed after toggling the hidden status of it’s reply. It looks like the celery task to reindex the root annotation is being dispatched but not run.
See:

add_annotation.delay(annotation.thread_root_id)

Continuing to toggle the hidden status of the reply seems to eventually fix things and starts working as expected again.

It is possible that the task is not being dispatched correctly or the task not being pulled from the queue.

To investigate locally:
If we’re using docker-compose to run the services, the RabbitMQ image we use is rabbitmq:3.6-management-alpine. The “management” part means that it is a RabbitMQ Docker image which includes the management console.
Details on how to access the management UI are in the README for the rabbitmq image we use: https://hub.docker.com/_/rabbitmq/

@robertknight robertknight added the Added to sprint Issue added to sprint board after sprint planning label Oct 10, 2018
@sheetaluk sheetaluk self-assigned this Oct 15, 2018
@lyzadanger lyzadanger removed the Added to sprint Issue added to sprint board after sprint planning label Oct 16, 2018
@lyzadanger
Copy link
Contributor

Removing Added to sprint label as this is moving into a new sprint...on purpose!

@sheetaluk
Copy link
Contributor Author

Could not reproduce this locally.

@sheetaluk sheetaluk removed their assignment Oct 30, 2018
@seanh
Copy link
Contributor

seanh commented Apr 30, 2019

@robertknight Closing this on the assumption it's fixed. Reopen if necessary!

@seanh seanh closed this as completed Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants