Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.17.0, 1.16.1, 1.18.0
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
- causes
-
FLINK-32204 ZooKeeperLeaderElectionTest.testZooKeeperReelectionWithReplacement fails with The ExecutorService is shut down already. No Callables can be executed on AZP
- Resolved
- Discovered while testing
-
FLINK-31838 Move thread handling from DefaultMultipleComponentLeaderElectionService into DefaultLeaderElectionService
- Resolved
- relates to
-
FLINK-29813 Remove deprecated Curator API usages
- In Progress
- links to