uschindler commented on issue #14334: URL: https://github.com/apache/lucene/issues/14334#issuecomment-2771774432
> For temporary files, we should either fsync before closing, or start reading without closing the file. This shows that you have no idea about how Lucene works internally. This is not possible because Lucene solely uses MMap for reading files, and for writing it uses OutputStreams, which can't be reused to read again. For reopening with MMap, it is not possible to reuse any file descriptors which were used for writing, Java just does not allow this. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org