What version of Solr/Lucene? There have been some instances of index
corruption, see the lucene/CHANGES.txt file that might account for it.
This is something of a stab in the dark
though.

Because this is troubling...

Best,
Erick

On Fri, Oct 31, 2014 at 7:57 AM, ku3ia <dem...@gmail.com> wrote:
> Hi, Erick. Thanks for you response.
>
> I'd checked my index via check index utility, and what I'm got:
>
> 3 of 41: name=_1ouwn docCount=518333
>   codec=Lucene46
>   compound=false
>   numFiles=11
>   size (MB)=431.564
>   diagnostics = {timestamp=1412166850391, os=Linux,
> os.version=3.2.0-68-generic, mergeFactor=10, source=merge,
> lucene.version=4.8-SNAPSHOT - root - 2014-09-04 12:30:45, os.arch=amd64,
> mergeMaxNumSegments=-1, java.version=1.7.0_67, java.vendor=Oracle
> Corporation}
>   has deletions [delGen=2260]
>   test: open reader.........OK
>   test: check integrity.....FAILED
>   WARNING: fixIndex() would remove reference to this segment; full
> exception:
> org.apache.lucene.index.CorruptIndexException: checksum failed (hardware
> problem?) : expected=e240ae5a actual=12262037
> (resource=BufferedChecksumIndexInput(MMapIndexInput(path="/mnt/data/solrcloud/node1/index.bak/_1ouwn_Lucene41_0.pos")))
>       at org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:211)
>       at
> org.apache.lucene.codecs.CodecUtil.checksumEntireFile(CodecUtil.java:268)
>       at
> org.apache.lucene.codecs.lucene41.Lucene41PostingsReader.checkIntegrity(Lucene41PostingsReader.java:1556)
>       at
> org.apache.lucene.codecs.BlockTreeTermsReader.checkIntegrity(BlockTreeTermsReader.java:3018)
>       at
> org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.checkIntegrity(PerFieldPostingsFormat.java:243)
>       at
> org.apache.lucene.index.SegmentReader.checkIntegrity(SegmentReader.java:587)
>       at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:561)
>       at org.apache.lucene.index.CheckIndex.main(CheckIndex.java:1967)
>
> I have 3 dead segments, but there is one interesting thing: I have a backup
> of this segment, which I make after an optimize to one segment a month ago,
> naturally w/o del-file. So, when I'd replaced it - nothing was changed.
>
> It is possible, that my HDD is corrupted, but I'd checked it on bads and was
> not found anything.
>
> May be a del-file is corrupted? How I can check it or restore?
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-index-corrupt-question-tp4166810p4166848.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to