jena icon indicating copy to clipboard operation
jena copied to clipboard

Protect the `deleteOld` step of TDB2 compaction

Open afs opened this issue 1 year ago • 0 comments

This builds on #2254. The deleteOld step of compaction would benefit from further projection.

See https://github.com/apache/jena/issues/2127#issuecomment-2010731129 for a description of compaction steps in Jena 5.0.0 and points vulnerability of the deleteOld step not completing properly.

This is separate to the issue on MS Windows whereby deletion of storage directories does not happen until the JVM exits.

One obvious cause of failing to completely delete old storage areas is server exit. Filesystem conditions such as being unable to delete a file are likely permanent errors requiring some repair to be carried out. Delete should not run into lack of disk space issues.

afs avatar Mar 21 '24 13:03 afs