Idea is to detect orphaned files and to either log them with an error, or to delete them directly.
The checked files should be selected randomly, such that eventually all files will be checked - although because the process is non-deterministic, no 100% guarantee can be made.
Idea is to detect orphaned files and to either log them with an error, or to delete them directly.
The checked files should be selected randomly, such that eventually all files will be checked - although because the process is non-deterministic, no 100% guarantee can be made.