Hari Shreedharan created FLUME-1893:
---------------------------------------

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


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

Reply via email to