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

Hari Shreedharan commented on FLUME-1586:
-----------------------------------------

I uploaded a skeleton implementation for this jira on reviewboard. There is 
some code which needs to be filled in, which should answer the question:

* What to do when the checksums do not match?

To make sure we don't hit performance too much, comparison of checksums is done 
only during replay. As of now, this is what is done:

* The Put TransactionEventRecord header now has an optional checksum field. (As 
of now, the code to enable checksumming has not been added).
* During replay, the checksum of the event body is compared to the checksum in 
the header. What to do if this does not match - TBD.

                
> File Channel should support verifying integrity of individual events.
> ---------------------------------------------------------------------
>
>                 Key: FLUME-1586
>                 URL: https://issues.apache.org/jira/browse/FLUME-1586
>             Project: Flume
>          Issue Type: Improvement
>          Components: Channel
>    Affects Versions: v1.2.0
>            Reporter: Hari Shreedharan
>            Assignee: Hari Shreedharan
>


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