logger.info('task %s mom_id=%s otdb_id=%s was removed or set to status opened. removing data from disk and task from radb',task['id'],task['mom_id'],task['otdb_id'])
logger.info('task %s mom_id=%s otdb_id=%s has radb_status=%s and mom_status=%s => removing data from disk and task from radb',
task['id'],
task['mom_id'],
task['otdb_id'],
task['status'],
mom_details[mom_id]['object_status'])
# auto delete data for tasks which went back to opened in mom (for pipeline restarts for example)
# auto delete data for tasks which went back to opened in mom (for pipeline restarts for example)
# The reason to delete it here is because otherwise the cleanupservice tries to get it's info from an already deleted task in radb/otdb
# The reason to delete it here is because otherwise the cleanupservice tries to get it's info from an already deleted task in radb/otdb