[
https://issues.apache.org/jira/browse/FLINK-13871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17329669#comment-17329669
]
Flink Jira Bot commented on FLINK-13871:
----------------------------------------
This issue has been labeled "stale-minor" for 7 days. It is closed now. If you
are still affected by this or would like to raise the priority of this ticket
please re-open, removing the label "auto-closed" and raise the ticket priority
accordingly.
> 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
> Priority: Minor
> Labels: stale-minor
>
> {{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.4#803005)