We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b282d0e commit a71c718Copy full SHA for a71c718
services/storage/src/simcore_service_storage/simcore_s3_dsm.py
@@ -535,6 +535,8 @@ async def delete_file(
535
)
536
except S3KeyNotFoundError:
537
_logger.warning("File %s not found in S3", file_id)
538
+ # we still need to clean up the database entry (it exists)
539
+ # and to invalidate the size of the parent directory
540
541
async with self.engine.acquire() as conn:
542
await db_file_meta_data.delete(conn, [file_id])
0 commit comments