schlm3 commented on issue #10906: URL: https://github.com/apache/lucene/issues/10906#issuecomment-2072646391
We are currently facing similar kind of Index corruption with unknown reason on our product running with an integrated lucene 7.4.0. Getting exceptions like these: `org.apache.lucene.index.CorruptIndexException: Unexpected file read error while reading index. (resource=BufferedChecksumIndexInput(MMapIndexInput(path="C:\Windows\Temp\.SE71_.28\index\535321184\segments_1q"))) at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:293) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:837) at com.deron.model.DefaultTextIndex$_K.run(DefaultTextIndex.java:1187) ... 3 more Caused by: java.nio.file.NoSuchFileException: C:\Windows\Temp\.SE71_.28\index\535321184\_t.si at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) at sun.nio.fs.WindowsFileSystemProvider.newFileChannel(WindowsFileSystemProvider.java:115) at java.nio.channels.FileChannel.open(FileChannel.java:287) at java.nio.channels.FileChannel.open(FileChannel.java:335) at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:238) at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:121) at org.apache.lucene.codecs.lucene70.Lucene70SegmentInfoFormat.read(Lucene70SegmentInfoFormat.java:91) at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:361) at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:291) ... 5 more` We first thought, that someone deleted the file in question, but that seems not to be the case. This issue here is one of the few which documents that kind of exception. What was the solution for the original author "Alexander Lukyanchikov" of this issue? -- 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