You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Neelima (JIRA)" <ji...@apache.org> on 2016/10/07 16:02:21 UTC
[jira] [Commented] (LUCENE-6577) Give earlier and better error
message for invalid CRC
[ https://issues.apache.org/jira/browse/LUCENE-6577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15555469#comment-15555469 ]
Neelima commented on LUCENE-6577:
---------------------------------
Does these checks be valid on z/OS (big-endian) ?
> 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
> Fix For: 5.3, 6.0
>
> 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