You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2016/06/09 12:01:20 UTC

[jira] [Commented] (LUCENE-7323) Compound file writing should verify checksum of its sub-files

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

Robert Muir commented on LUCENE-7323:
-------------------------------------

Looks nice. I like the latest patch much better, I think its better to push complexity into CodecUtil.

> Compound file writing should verify checksum of its sub-files
> -------------------------------------------------------------
>
>                 Key: LUCENE-7323
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7323
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: master (7.0), 6.2
>
>         Attachments: LUCENE-7323.patch, LUCENE-7323.patch
>
>
> For larger segments, there is a non-trivial window, from when IW
> writes sub-files, to when it then builds the CFS, during which the
> files can become corrupted (from external process, bad filesystem,
> hardware, etc.)
> Today we quietly build the CFS even if the sub-files are corrupted,
> but we can easily detect it, letting users catch corruption earlier
> (write time instead of read time).



--
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