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

Improve Cancellation to take advantage of InterruptedException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.4
    • None
    • 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

              jmhsieh Jonathan Hsieh
              jmhsieh Jonathan Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: