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

Satoshi Iijima commented on FLUME-3060:
---------------------------------------

This is an old issue but could lead to unexpected behaviors even in the current 
version. I created a [PR|https://github.com/apache/flume/pull/369] for that. 
Could someone review this?

> Race condition in flume-taildir-source
> --------------------------------------
>
>                 Key: FLUME-3060
>                 URL: https://issues.apache.org/jira/browse/FLUME-3060
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: 1.7.0
>            Reporter: malin
>            Priority: Major
>             Fix For: 1.7.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> flume-taildir-source stored the matched files in 
> _ReliableTaildirEventReader.tailFiles_, and updated it in 
> _ReliableTaildirEventReader.updateTailFiles()_, which will be invoked in the 
> main thread(_TaildirSource.process()_). But at the same time, 
> _ReliableTaildirEventReader.tailFiles_ will be read in the _idleFileChecker_ 
> thread and _PositionWriter_ thread, will there be any race condition?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to