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 2015/12/08 03:28:11 UTC
[jira] [Commented] (FLUME-2850) FileChannel should allow take
operation when minimumRequiredSpace runs out
[ https://issues.apache.org/jira/browse/FLUME-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15046213#comment-15046213 ]
Hari Shreedharan commented on FLUME-2850:
-----------------------------------------
In theory, I agree. But remember that takes also do take up disk space. It would be interesting to add an additional config, but the implementation is likely to be non-trivial.
> FileChannel should allow take operation when minimumRequiredSpace runs out
> --------------------------------------------------------------------------
>
> Key: FLUME-2850
> URL: https://issues.apache.org/jira/browse/FLUME-2850
> Project: Flume
> Issue Type: Bug
> Components: File Channel
> Affects Versions: v1.6.0
> Reporter: Tycho Lamerigts
>
> In the status quo, when minimumRequiredSpace runs out, FileChannel closes itself and thereby prevents flume from ever self-recovering. Instead, manual action is needed to free up some disk space. If FileChannel would only block put operations and would still allow take operations then flume could self-recover, assuming some sinks will eventually succeed in draining the channel. Also, it would lead to fewer dropped events overall.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)