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

Improve Cancellation to take advantage of InterruptedException

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v0.9.4
    • Component/s: None
    • Labels:
      None

      Description

      Previous patches wrapped InterruptedExceptions to be IOExceptions close sources and sinks, and did some tricks to propagate interrupted status. This pattern forces an couples an entire pipeline a single thread which is a scalability bottleneck. Also, by using interrupted exceptions, we can better provide the intent of an interruption in a type-safe way.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jon Jonathan Hsieh
                Reporter:
                jon Jonathan Hsieh
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: