[
https://issues.apache.org/jira/browse/FLUME-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hari Shreedharan updated FLUME-1236:
------------------------------------
Attachment: FLUME-1236.patch
> File channel has a race condition between start and create transaction method
> -----------------------------------------------------------------------------
>
> Key: FLUME-1236
> URL: https://issues.apache.org/jira/browse/FLUME-1236
> Project: Flume
> Issue Type: Bug
> Components: Channel
> Affects Versions: v1.2.0
> Reporter: Hari Shreedharan
> Assignee: Hari Shreedharan
> Fix For: v1.2.0
>
> Attachments: FLUME-1236.patch
>
>
> Lifecycle supervisor starts all components asynchronously. So the channel's
> replay() would not have returned before the createTxn() is called, since the
> sink could have started too. This causes a preconditions check failure, and
> logs errors.
--
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