ronmjf commented on issue #15262: URL: https://github.com/apache/lucene/issues/15262#issuecomment-3368841788
Hi @uschindler Thanks for your response! I'd like to add a few points. This issue affects more than just .cfs files. I've observed that other temporary Lucene index files (like .cfe, .tip, .tim, .doc, .pos, .nvd, and .fdt) are also being deleted from the disk while the JVM retains their file handles. While the Maven indexer was mentioned, it seems the root cause might be within Apache Lucene itself. Lucene appears to be directly creating these files and their descriptors, as seen in its source code [here](https://github.com/apache/lucene/blob/da8c674bf85855d4b56dc70ad44d207b437f3aca/lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90CompoundFormat.java#L92) and [here](https://github.com/apache/lucene/blob/da8c674bf85855d4b56dc70ad44d207b437f3aca/lucene/core/src/java/org/apache/lucene/codecs/lucene90/compressing/Lucene90CompressingStoredFieldsWriter.java#L136). Could the problem originate there? For context, I've also opened a corresponding issue for the Maven indexer project: [#702](https://github.com/apache/maven-indexer/issues/702). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
