uschindler commented on issue #15262: URL: https://github.com/apache/lucene/issues/15262#issuecomment-3368857005
Hi, None of these index files are temporary. They are all essential parts of an index. As you reported the issue on CFS files only there could have been an issue we those. But now you say that all file types are affected, so I can tell you: it is 99.9999% impossible that the issue is in Lucene code. As all files are Lucene created they need to be closed when indexing/updating/searching is done. This is responsibility of the calling application (Maven Indexer). It must close the IndexWriter and any IndexReaders possibly opened on the index. When it does not do this, the files stay open. What we don't see is, if the files were opened for read or write, so it's hard to dig more into this. We also need the used directory abstraction (MMapDirectory or NIOFSDirectory). Please keep in mind that while indexing files are also opened for reading, because code uses updateDocument so the Indexer has other index segments written before open for read to check documents existence. Please keep in mind that if the index is not closed correctly, the commits may not be written at end, so you may loose documents. As you see the problems only on you redhat machine, to me this looks like a different configuration of garbage collector which delays freeing the Indexer instances that were forgot to close. Uwe -- 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]
