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

Race condition in flume-taildir-source

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.0
    • 1.7.0
    • Sinks+Sources
    • 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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mlmhl malin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m