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

Fix polling logic in TaildirSource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0
    • None
    • None

    Description

      TaildirSource.process() always returns Status.READY and sleeps inside the method.
      It should return Status.READY / Status.BACKOFF and this status would control the common backoff sleeping mechanism implemented in PollableSourceRunner.PollingRunner.

      This is an old issue, but due to the changes implemented in FLUME-3101, it can lead to unnecessary waiting cycles. So it must be fixed now.

      Attachments

        Issue Links

          Activity

            People

              turcsanyip Peter Turcsanyi
              turcsanyip Peter Turcsanyi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: