There is an issue with either the RESTContent or getContent handling for Solr that causes the actual files on the filesystem to leave a lock on them. The example to reproduce this is to search for a doc in HPI and view the content. Every time the doc is viewed, a handle is left open. When a GC is run, the handle is released.
The problem comes in for a PUMA that should be deleting earlier versions of the file from the FS when a newer version is created. When this happens, it is unable to delete the previous version if someone has viewed the doc and a GC hasn't run:
There is an issue with either the RESTContent or getContent handling for Solr that causes the actual files on the filesystem to leave a lock on them. The example to reproduce this is to search for a doc in HPI and view the content. Every time the doc is viewed, a handle is left open. When a GC is run, the handle is released.
The problem comes in for a PUMA that should be deleting earlier versions of the file from the FS when a newer version is created. When this happens, it is unable to delete the previous version if someone has viewed the doc and a GC hasn't run: