Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-3060

Race condition in flume-taildir-source

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.0
    • Component/s: Sinks+Sources
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mlmhl malin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: