And a bit of my observations report as a sno and not as a user

What going on? is the forum bug or @vv75 change answer solution multiple times?

i marked several as solution but it deselected them and i selected again.
happens when the solution button isnt directly below the answer but under “…” menu.
i marked as solution, then looked again tn the […] and it wasnt marked.
i thought i had connectivity issues when selected previously and selected again.

now checked again under […] where i marked as solution, and the solution choice is shown as not selected.
confusing bug of the forum engine!

and after a bit of thought…
if the data logs would be treated as sparse files, then before the compaction operation, the unused data could be discarded WITHIN the file so even more free space can be gained on the filesystem.

devs, waddya think?

It’s not a bug. Only one comment can be a solution.

heeeee.
thanks for telling!

and in the current state of things, SEVERAL people solved the question, each one in some aspect…
scratched my head and gave you guys hearts instead. :slight_smile:

It was discussed here on the forum and internally. This idea have more cons than pros, I wouldn’t like to repeat this discussion again, but TL;DR:

  1. too many nuances between OSes’ implementation of “sparse” files and punch holes, too fragile
  2. we messing with append-only approach and punch holes and filling them => we will have more I/O and latency, because the filesystem will actually do not use these holes efficiently

i meant not to fill them, just to punch before copying filled data to the new datalog chunk.
in hope just to spare a bit more hdd space for the operation.

or maybe even punch them as soon as data is no more needed.

The concern #1 still remain, also the occupied space will not change. And it requires special quirks for each FS+OS combination to use the actual size without a punched hole.