Every now and then I run ./bin/files compact and see a whole bunch of files compacted. We could probably be a bit smarter with this and do this automatically. I'm guessing that we don't do this automatically because there is a risk that we get it wrong and destroy a file inadvertently, but maybe this isn't a real issue.
Description
Description
Event Timeline
Comment Actions
bin/files compact shouldn't normally do much of anything; the better fix might be to identify what's causing these files to be written despite being compactable and stop it from doing that. My expectation is that all file writing callsites should automatically reuse storage if possible in modern code.
Comment Actions
Per above, I'd like to just fix issues here rather than add an automatic compaction process. I don't currently know how to generate un-compact files in modern code.