apache / apache/jena

Protect the `deleteOld` step of TDB2 compaction

Open
#2,360 0 comments 0 reactions 1 assignee Claimed by @afs View on GitHub
TDB
Dominant language
Java
Stars
1.4k
Forks
712
Avg merge
15h 41m
Merged PRs (30d)
53

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.