Dear all,
Today we found one of our index partitions was corrupted during the regular flush, due to the FileNotFoundException on a del file. The followings were the call stacks from the corresponding exception: [2016-09-12 16:40:01,801][ERROR][qtp2107666786-40854][indexEngine ] index [so_blog] commit ERROR:_oxep_7fa.del org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:284) org.apache.lucene.index.SegmentInfo.sizeInBytes(SegmentInfo.java:303) org.apache.lucene.index.TieredMergePolicy.size(TieredMergePolicy.java:635) org.apache.lucene.index.TieredMergePolicy.useCompoundFile(TieredMergePolicy. java:611) org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:593) org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3587) org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3376) org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3485) org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3467) org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3451) org.apache.lucene.index.IndexEngine.flush(IndexEngine.java:409) My questions are: l Does anyone know the situation here? From the file system, I can’t find the _oxep_7fa.del. l How about the life cycle of the del file? Note: The Lucene Core is on 3.6.2. Appreciated for your kindly advice. Best Regards, Wenxing
