You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by GitBox <gi...@apache.org> on 2019/03/22 10:29:09 UTC

[GitHub] [lucene-solr] jpountz commented on issue #616: LUCENE-8734: Record nextWriteGens in SegmentCommitInfo

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org