[
https://issues.apache.org/jira/browse/FLINK-24184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Nowojski updated FLINK-24184:
-----------------------------------
Fix Version/s: (was: 1.13.3)
> Potential race condition leading to incorrectly issued interruptions
> --------------------------------------------------------------------
>
> Key: FLINK-24184
> URL: https://issues.apache.org/jira/browse/FLINK-24184
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Task
> Affects Versions: 1.8.3, 1.9.3, 1.10.3, 1.11.4, 1.14.0, 1.12.5, 1.13.2
> Reporter: Piotr Nowojski
> Assignee: Piotr Nowojski
> Priority: Not a Priority
> Labels: pull-request-available
> Fix For: 1.15.0, 1.14.1
>
>
> There is a race condition in disabling interrupts while closing resources.
> Currently this is guarded by a volatile variable, but there might be a race
> condition when:
> 1. interrupter thread first checked the shouldInterruptOnCancel flag
> 2. shouldInterruptOnCancel flag switched to false as Task/StreamTask entered
> cleaning up phase
> 3. interrupter issued an interrupt while Task/StreamTask are
> closing/releasing resources, potentially causing a memory leak
--
This message was sent by Atlassian Jira
(v8.3.4#803005)