bihealth / sodar-server

SODAR: System for Omics Data Access and Retrieval
https://github.com/bihealth/sodar-server
MIT License
14 stars 3 forks source link

Sheets deletion timeline event stuck in SUBMIT state if iRODS collections exist #1798

Closed mikkonie closed 1 month ago

mikkonie commented 1 year ago

I noticed this in our production server logs. A user has initiated sheet deletion and a sheet_delete timeline event is created, but it ends with the SUBMIT status.

As far as I can see, the deletion has actually gone through and the project has been in a normal state afterwards, but still, this should not happen.

Update: This happens only if iRODS collections are to be created. This means something probably goes wrong in the related taskflow. To be investigated for v1.0.0.

mikkonie commented 8 months ago

This might be related to #1894. To be looked into..

mikkonie commented 8 months ago

This may be the case of admin(s) updating things stuck due to iRODS problems and failing to update timeline status manually. See dsicussion in #1894. I'm setting this to ongoing for now and I'll keep an eye out of further occurrences.

mikkonie commented 1 month ago

I've observed this happening again, during a time when no iRODS issues were reported.

One moving part which may aid in reproducing: the iRODS collections had been created for the sheets.

mikkonie commented 1 month ago

Bingo! This fails if iRODS collections exist for the investigation. If no collections have been created, timeline is updated appropriately.

Updating the description and tagging this for v1.0.0.

mikkonie commented 1 month ago

Fixed.