[
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