systemd / casync

Content-Addressable Data Synchronization Tool
1.49k stars 117 forks source link

cached chunks of already recontructed files are not deleted from cached tmp path #249

Open devhigh29 opened 3 years ago

devhigh29 commented 3 years ago

I have create a chunk store of 3 files, each file is of 500MB. Chunk store is hosted on a http server. While extracting, the size of cached directory keeps on increasing because even though the first file of 500MB is re constructed in the target path, the cache tmp path still have those old chunks. If there is an option to remove already used chunks, it can be useful for systems with less memory.

OnkelUlla commented 3 years ago

You could have a look at casync-nano. If I remember correctly it does not have this nasty habbit of keeping already used chunks locally, but I am not 100% sure about that.