AtlasOfLivingAustralia / image-service

Image repository and tiling services
https://images.ala.org.au
0 stars 17 forks source link

Image service cleanup #203

Closed joe-lipson closed 2 months ago

joe-lipson commented 2 months ago

Is there any streamlined process to cleanup the image-service? There are images in the image-service which are not used in any service and they occupy space on the S3 bucket and also clutter the DB and ES which need to be cleaned up.

One of the scenarios that leads to this is when we get an updated occurrence having a new image connected to it and the previous linked image is not referenced anymore anywhere.

reported by @sadeghim

joe-lipson commented 2 months ago

Hi Mahmoud, There's no process to do that but we do need it. We've got another ticket in to do that, it needs to be something that runs regularly or is managed as part of image ingest. Good to know about that scenario.

The original ticket is https://github.com/AtlasOfLivingAustralia/ala-infrastructure/issues/962

joe-lipson commented 2 months ago

Closing as a duplicate of https://github.com/AtlasOfLivingAustralia/ala-infrastructure/issues/962