[
https://issues.apache.org/jira/browse/FLINK-13871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton Kalashnikov reassigned FLINK-13871:
-----------------------------------------
Assignee: Panagiotis Garefalakis
> 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
> Assignee: Panagiotis Garefalakis
> Priority: Not a Priority
> Labels: pull-request-available
>
> {{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.20.10#820010)