elemental-lf / benji

Benji Backup: A block based deduplicating backup software for Ceph RBD images, iSCSI targets, image files and block devices

Home Page:https://benji-backup.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: high ram usage during `benji rm`

FedericoHeichou opened this issue · comments

Describe the bug

If you have a big version (like 20 millions of rows), benji will use too much ram while performing the moving of those rows from blocks to deleted_blocks

To Reproduce

Just create a big version (you can just add junk into blocks table for that version) and run benji rm for that version.

Additional context

I will submit a PR