malin created FLUME-3060:
----------------------------
Summary: 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: v1.7.0
Reporter: malin
Fix For: v1.7.0
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
(v6.3.15#6346)