You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Juhani Connolly (Commented) (JIRA)" <ji...@apache.org> on 2012/02/27 01:50:48 UTC

[jira] [Commented] (FLUME-998) JDBC Channel take does not block

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

Juhani Connolly commented on FLUME-998:
---------------------------------------

If there is nothing there to take, the sink should be sending backoff requests so as not to send non-stop requests. If the thread fetching events actually "spins hard" there is something wrong at that level which needs to be fixed.
                
> JDBC Channel take does not block
> --------------------------------
>
>                 Key: FLUME-998
>                 URL: https://issues.apache.org/jira/browse/FLUME-998
>             Project: Flume
>          Issue Type: Improvement
>          Components: Channel
>    Affects Versions: v1.0.0
>            Reporter: Brock Noland
>            Priority: Critical
>             Fix For: v1.1.0
>
>
> Memory Channel takes block for a few seconds if there are no events to take. This so the thread consuming events does not spin in a tight loop. JDBC Channel does not block and returns null immediately, as such the thread gettings events spins hard.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira