Use @task(ignore_result=True) for all hazard tasks

Bug #894398 reported by Muharem Hrnjadovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
High
Muharem Hrnjadovic

Bug Description

The results returned by the hazard tasks are KVS keys and not utilised anywhere. We reconstitute the KVS keys instead and read the actual results from redis.

We thus *are* in the position to heed the advice of the celery author, Ask Solem:

> The queues you are seeing are the task's progress and results.
> If you don't need them you should disable them. You can do so
> by upgrading to the latest version (where results are disabled
> by default), or setting @task(ignore_result=True) for individual
> tasks, or CELERY_IGNORE_RESULT=True globally.

Changed in openquake:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Muharem Hrnjadovic (al-maisan)
milestone: none → 0.4.6
tags: added: celery messaging performance rabbitmq
Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :

The following branch prepares the ground for ignoring the results of the hazard celery tasks: https://github.com/gem/openquake/pull/587

Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :
Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :
Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.