Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.2.2
-
None
Description
Regarding latest SVN revision:
The DiskFileItemFactory documents:
Temporary files are automatically deleted as soon as they are no longer needed. (More precisely, when the corresponding instance of
is garbage collected.)
But the code in DiskFileItemFactory.createItem() is doing:
tracker.track(result.getTempFile(), this);
Which means the file is cleaned when DiskFileItemFactory is garbage collected.
This error is propably introduced in Rev 578253 when the code was moved from DiskFileItem to DiskFileItemFactory, without changing "this" (which was DiskFileItem) and is not DiskFileItemFactory.
Attachments
Attachments
Issue Links
- relates to
-
SOLR-1953 It may be possible for temporary files to accumulator until the Solr process is shut down
- Resolved