buaazp / zimg

A lightweight and high performance image storage and processing system.
http://zimg.buaa.us
BSD 3-Clause "New" or "Revised" License
2.69k stars 403 forks source link

Delete image doesn't delete thumbnails of this image in mode db #108

Open buaazp opened 9 years ago

buaazp commented 9 years ago

When we use ssdb/beansdb mode to store images, we can't known the thumbnails' keys of one image. So delete this image doesn't delete its thumbnails.

This feature will be implemented in the future.

BeaverCC commented 6 years ago

Hi

Will this bug be fixed in the old versions before v4.0.0?

I have several terabytes of thumbnails in my ssdb, they are consuming my disk.

If this won't be fixed in the old versions, is there any way to delete them.

buaazp commented 6 years ago

Ummm... It's hard to scan the thumbnails' keys in backend db. If necessary, I suggest you do a transfer. You need write a shell to do these:

It is ugly but may work.