uschindler commented on code in PR #13570: URL: https://github.com/apache/lucene/pull/13570#discussion_r1683097237
########## lucene/core/src/java/org/apache/lucene/index/IndexFileNames.java: ########## @@ -142,6 +143,26 @@ public static String stripSegmentName(String filename) { return filename; } + /** Review Comment: Why should we remap already open files multiple times? Lucene opens only new segments, but old ones are kept open on index refreshes. We do not close or reopen already open files. Of course, we could track file names, too, but why should we do this? We only have generations for updated files and those are now opened in separate arenas (as the generation for the original files is "0"). -- 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