go-graphite / buckytools

Go implementation of useful tools for dealing with Graphite's Whisper DBs and Carbon hashing
Other
19 stars 8 forks source link

close whisper files and unlink backup after resizing #50

Closed asymmetricia closed 1 year ago

asymmetricia commented 1 year ago

This one might be a little more debatable; perhaps there should be a flag controlling this behavior?

As it is, the .bak file is left in-place, so efforts to resize whisper files in order to reduce disk space will have the proximate effect of increasing disk space, and the user would have to manually clean up .bak files.

asymmetricia commented 1 year ago

I think I'm going to more extensive re-write this, since it's not really implemented in a way that's very useful to me. Stay tuned.