Uploaded image for project: 'Flume (READ-ONLY)'
  1. Flume (READ-ONLY)
  2. FLUME-320

Race condition in new NIO based TailSource

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v0.9.2
    • Fix Version/s: v0.9.3
    • Labels:
      None

      Description

      Using the test from FLUME-218, I've encountered a race after about several 10k's of events from a single tail source. The resulting behavior duplicates data (which is not ideal but acceptable).

      Here's how to duplicated the result:

      $ flume node -1 -s -n foo -c 'foo:tail("/tmp/foofile","true")|text("/tmp/foofile.out");'

      $ ./short-generate.py >> /tmp/foofile

      To view results:
      $ wc /tmp/foofile.out
      $ sort -n /tmp/foofile.out

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex Baranau
                Reporter:
                jon Jonathan Hsieh
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: