1996fanrui opened a new pull request, #19993:
URL: https://github.com/apache/flink/pull/19993
## What is the purpose of the change
Fix the bug that tasks get stuck during cancellation in
ChannelStateWriteRequestExecutorImpl
Currently, just call the `writer.fail(e);` and don't throw
InterruptedException when caught the InterruptedException in
ChannelStateWriterThread. So ChannelStateWriterThread cannot exit when meet
InterruptedException. We should throw InterruptedException, and the
ChannelStateWriterThread will be finished.
## Brief change log
Catch InterruptedException and throw it when caught the InterruptedException
in ChannelStateWriterThread.
## Verifying this change
This change is already covered by existing tests.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): yes
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: yes
- The serializers: yes
- The runtime per-record code paths (performance sensitive): yes
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: yes
- The S3 file system connector: yes
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not documented
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]