Alex created FLINK-13871:
----------------------------
Summary: Consolidate isRunning, canceled, isFinished fields in
StreamTask and SourceStreamTask
Key: FLINK-13871
URL: https://issues.apache.org/jira/browse/FLINK-13871
Project: Flink
Issue Type: Improvement
Components: Runtime / Task
Reporter: Alex
{{StreamTask}} has two {{volatile boolean}} fields ({{canceled}},
{{isFinished}})
and {{SourceStreamTask}} has an additional {{isFinished}} field.
In practice, those fields are mutually exclusive and reflect different stages
of stream task's lifecycle. It should be possible to represent all three fields
as one (enumerated) state field.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)