[ 
https://issues.apache.org/jira/browse/LUCENE-5267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790248#comment-13790248
 ] 

Adrien Grand commented on LUCENE-5267:
--------------------------------------

Good question. I've had this issue myself once and the dmesg of the system was 
full with disk-related errors so something really bad probably happened with 
the disk. I am actually thinking of adding some basic checksuming to the future 
stored fields format (4 bytes per chunk, this wouldn't hurt the compression 
ratio much) in order to be able to distinguish easily index corruptions from 
bugs in the stored fields format (and especially the compression layer).

> java.lang.ArrayIndexOutOfBoundsException on reading data
> --------------------------------------------------------
>
>                 Key: LUCENE-5267
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5267
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 4.4
>            Reporter: Littlestar
>            Assignee: Adrien Grand
>              Labels: LZ4
>
> java.lang.ArrayIndexOutOfBoundsException
>       at org.apache.lucene.codecs.compressing.LZ4.decompress(LZ4.java:132)
>       at 
> org.apache.lucene.codecs.compressing.CompressionMode$4.decompress(CompressionMode.java:135)
>       at 
> org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.visitDocument(CompressingStoredFieldsReader.java:336)
>       at 
> org.apache.lucene.index.SegmentReader.document(SegmentReader.java:133)
>       at 
> org.apache.lucene.index.BaseCompositeReader.document(BaseCompositeReader.java:110)
>       at 
> org.apache.lucene.index.SlowCompositeReaderWrapper.document(SlowCompositeReaderWrapper.java:212)
>       at 
> org.apache.lucene.index.FilterAtomicReader.document(FilterAtomicReader.java:365)
>       at 
> org.apache.lucene.index.BaseCompositeReader.document(BaseCompositeReader.java:110)
>       at org.apache.lucene.index.IndexReader.document(IndexReader.java:447)
>       at org.apache.lucene.search.IndexSearcher.doc(IndexSearcher.java:204)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to