jpountz commented on issue #616: LUCENE-8734: Record nextWriteGens in SegmentCommitInfo URL: https://github.com/apache/lucene-solr/pull/616#issuecomment-475568863 Do we actually need to record these generations, or could we initialize them from existing commits at IndexWriter creation time, similarly to how we carry over generation numbers with `OpenMode.CREATE` (https://github.com/apache/lucene-solr/blob/bca22d58e2d126ec6d349d375d3ea028892104e1/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java#L788-L789), and rely on `IndexFileDeleter` to handle the case that IndexWriter was not closed gracefully?
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
