celery / django-celery-results

Celery result back end with django
Other
668 stars 206 forks source link

persistance for revoked tasks ? #423

Closed urzbs closed 4 months ago

urzbs commented 4 months ago

Hey there,

when calling

app.control.revoke(task_id, terminate=True)

while all workers are offline, the revocation information is lost - So now, when you start your workers, they will work on your previously revoked task...

This is a real problem for distrubuted worker clusters, where you dont have crontrol if they are currently running or not.

is there a setting or a mechanism that makes revocation persistent / deletes task from queue?

Kind regards

urzbs commented 4 months ago

sorry might be the wrong place to ask a generic celery question