Shrink bolt databases #1951
Labels
enhancement
Improving existing functionality
I3
Minimal impact
neofs-storage
Storage node application issues
S3
Minimally significant
U4
Nothing urgent
The size of bbolt databases can only grow boltdb/bolt#308
This is a bit misleading from the user POV, who can do
df -h
and also leaves less space for big objects.We can extend GC with a vacuum, which (rarely) tries to compact blobovnicza trees by trying to move all objects on a single level to a smaller set of leaves.
There is also https://github.com/etcd-io/bbolt/blob/master/compact.go, but it needs 2 files.
The text was updated successfully, but these errors were encountered: