Open severo opened 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
keep open
As we now use signed URLs, only the assets referenced by a cache entry will be accessible. The other ones, if any, will "just" waste space on S3
Also: the files on S3 should now be deleted when we delete a dataset (see https://github.com/huggingface/datasets-server/blob/c22f563f350a36148a1deaaf12531d4da991a677/libs/libcommon/src/libcommon/orchestrator.py#L678)
Note: as of today, the production S3 bucket contains 3TB of assets. It would be interesting to know which part is not needed anymore.
Also: /cached-assets directory could have a TTL of 1 day, or less, since the assets are generated on demand.
Related to https://github.com/huggingface/datasets-server/issues/1122