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
Celery export_data tasks do not return when aborted.
Expected Behavior
Task should finish instead of running until the end.
Steps To Reproduce
Setup
Set WEBSERVER_DEV_FEATURES_ENABLED=1 and then run the stack locally (make up-prod)
Click on a Study an go to the Study files...
Click on multiselect and select at least 2 files you will see the download window (if you are running your stack in the office you will not be able to download the file, but if you look at the logs of sto-worker-cpu-bound you will see something like master-simcore_sto-worker-cpu-bound.1.dr6tba9imge3@neagu-wkst | [2025-04-10 08:52:57,051: INFO/MainProcess] Task export_data[osparc:1:01889f5b-6bc1-4cf1-91e1-6d4aec89e71e] succeeded in 0.15236935392022133s: 'exports/1/afad1bcb-45ff-49be-8bc7-352e535e98a6.zip')
Error part
Create some files files a folder that are at least 1 GB
Try to multiselect that folder and download it
After a second click cancel in the UI you will notice that it stays there stuck with no further progress
The text was updated successfully, but these errors were encountered:
giancarloromeo
changed the title
Celery workers hang when receiving a task abort request
Celery export_data tasks do not return when aborted
Apr 10, 2025
Current Behavior
Celery
export_data
tasks do not return when aborted.Expected Behavior
Task should finish instead of running until the end.
Steps To Reproduce
Setup
WEBSERVER_DEV_FEATURES_ENABLED=1
and then run the stack locally (make up-prod
)sto-worker-cpu-bound
you will see something like master-simcore_sto-worker-cpu-bound.1.dr6tba9imge3@neagu-wkst | [2025-04-10 08:52:57,051: INFO/MainProcess] Task export_data[osparc:1:01889f5b-6bc1-4cf1-91e1-6d4aec89e71e] succeeded in 0.15236935392022133s: 'exports/1/afad1bcb-45ff-49be-8bc7-352e535e98a6.zip')Error part
The text was updated successfully, but these errors were encountered: