lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6577) Give earlier and better error message for invalid CRC
Date Tue, 16 Jun 2015 22:55:00 GMT

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

Michael McCandless commented on LUCENE-6577:
--------------------------------------------

+1

> Give earlier and better error message for invalid CRC
> -----------------------------------------------------
>
>                 Key: LUCENE-6577
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6577
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>         Attachments: LUCENE-6577.patch
>
>
> From digging into LUCENE-6576:
> We use a 32-bit CRC but store it in 64-bits, but today 32 bits are unused. We should
check this on both read and write and if bits are invalid (because something is wrong in the
JVM, or because on-disk stuff just got corrupted in that way), deliver a good exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message