Cancelation of `copyStateDataHandleData` futures and 
`executorService.shutdownNow()` should be registered in 
`cancelStreamRegistry.registerCloseable()` and unregistered with 
`unregisterCloseable` before `executorService.shutdown()` in `finally`. Similar 
to streams in `copyStateDataHandleData`. This way we guarantee freeing of all 
resources in case of job abrupt shutdown.

[ Full content available at: https://github.com/apache/flink/pull/6777 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

Reply via email to