Hi Brandon,

There are a number of possible steps after a compaction - delete, archive, compress-archive-delete.

This sounds like a natural thing to have but at the same time I'm a bit wary of adding features one at a time because a feature is a commitment to maintain and some other concern may mean a different approach would have been better. Example: maybe different privileges for compact and actually deleting data on disk.

With Fuseki/main (it currently does not have the admin functions of Fuseki/webapp) we do have the scope to revisit administration.

I've opened a discussion JIRA

  https://issues.apache.org/jira/browse/JENA-2087

for what a new set of administration features for Fuseki/main might include. Hope you'll join in.

    Andy

BTW:

Deleting will not work on MS Windows. There is a long standing Java issue that memory mapped files do not get released until after the JVM exits.

https://bugs.openjdk.java.net/browse/JDK-4715154
https://bugs.openjdk.java.net/browse/JDK-4724038

On 09/04/2021 18:07, Brandon Sara wrote:
I would love it if we could have an automatic deletion option with the compact 
task, otherwise, a good amount of work can end up being needed just to ensure 
that a no longer needed `Data-****` folder is removed. Is this something that 
the maintainers are willing to consider? If so, I’d be willing to help with the 
implementation of it.

Thanks.

Reply via email to