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

Fix polling logic in TaildirSource

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              turcsanyip Peter Turcsanyi
              Reporter:
              turcsanyip Peter Turcsanyi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment