Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-31995

DirectExecutorService doesn't follow the ExecutorService contract throwing a RejectedExecutionException in case it's already shut down

    XMLWordPrintableJSON

Details

    Description

      We experienced an issue where we tested behavior using the DirectExecutorService with the ExecutorService being shutdown already. The tests succeeded. The production code failed, though, because we used a singleThreadExecutor for which the task execution failed after the executor was stopped. We should add this behavior to the DirectExecutorService as well to make the unit tests be closer to the production code.

      Attachments

        Issue Links

          Activity

            People

              mapohl Matthias Pohl
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: