The RandomAccessFileCache puts a read lock on files which sometimes causes issues for people who are trying to delete a file that's cached.
When a cleanup is performed, check if any of the cached files were deleted and if so remove them. The cleanups are scheduled to happen at regular intervals for the NetcdfFile and RandomAccessFile caches (by default every 10 min in TDS).
Description of Changes
The RandomAccessFileCache puts a read lock on files which sometimes causes issues for people who are trying to delete a file that's cached.
When a cleanup is performed, check if any of the cached files were deleted and if so remove them. The cleanups are scheduled to happen at regular intervals for the NetcdfFile and RandomAccessFile caches (by default every 10 min in TDS).
PR Checklist