You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Hari Shreedharan (JIRA)" <ji...@apache.org> on 2013/02/02 02:57:11 UTC

[jira] [Updated] (FLUME-1893) File Channel could miss possible checkpoint corruption

     [ https://issues.apache.org/jira/browse/FLUME-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hari Shreedharan updated FLUME-1893:
------------------------------------

    Attachment: FLUME-1893.patch

Patch from RB
                
> File Channel could miss possible checkpoint corruption
> ------------------------------------------------------
>
>                 Key: FLUME-1893
>                 URL: https://issues.apache.org/jira/browse/FLUME-1893
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Hari Shreedharan
>            Assignee: Hari Shreedharan
>         Attachments: FLUME-1893.patch
>
>
> If the first 4 bytes of the checkpoint are overwritten, then the current sanity check will miss it because we read the first long and then cast it to an int, missing the first 4 bytes when we check the version. First 4 bytes being corrupt could indicate further corruption in the checkpoint which cannot be verified because the remaining data consists mostly of pointers to files, which if not used are simply ignored by the replay mechanism

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira