schlm3 commented on issue #7820:
URL: https://github.com/apache/lucene/issues/7820#issuecomment-2072897607

   Hi, 
   We are facing the same kind of issues with apparently missing .si files in 
our index folder. 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've had this four times on three different installations now and we have 
no clue what could be the cause for this. Currently using Lucene 7.4.0 on 
Windows Server environments. Index is always on Systemdrive. Customers tell us, 
that they did not delete files from the index on their own.
   When I correctly read the thread here, then this issue was about fixing the 
CheckIndex tool, but not about fixing the cause of the problem, right? 
   Also, the issue is still not solved, right? Any plans?
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to