Skip to content

Commit a71c718

Browse files
add comment
1 parent b282d0e commit a71c718

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/storage/src/simcore_service_storage/simcore_s3_dsm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,8 @@ async def delete_file(
535535
)
536536
except S3KeyNotFoundError:
537537
_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
538540

539541
async with self.engine.acquire() as conn:
540542
await db_file_meta_data.delete(conn, [file_id])

0 commit comments

Comments
 (0)