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

Hari Shreedharan commented on FLUME-2181:
-----------------------------------------

As of now, we already have a corruption check - but only for the event 
checksums. I am thinking of adding this check as described above, and then 
allowing the channel to proceed if optional fsync is enabled, else kill the 
channel and force the user to run the tool (which is current behavior). I am 
not entirely sure of this approach - I'd prefer to keep the behavior the same 
in both cases. Should we force the user to run the tool in either case?

> Optionally disable File Channel fsyncs 
> ---------------------------------------
>
>                 Key: FLUME-2181
>                 URL: https://issues.apache.org/jira/browse/FLUME-2181
>             Project: Flume
>          Issue Type: Improvement
>            Reporter: Hari Shreedharan
>            Assignee: Hari Shreedharan
>         Attachments: FLUME-2181.patch
>
>
> This will give File Channel performance a big boost, at the cost of possible 
> data loss if a crash happens between checkpoints. 
> Also we should make it configurable, with default to false. If the user does 
> not mind slight inconsistencies, this feature can be explicitly enabled 
> through configuration. So if it is not configured, then the behavior will be 
> exactly as it is now.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to