[
https://issues.apache.org/jira/browse/FLINK-13871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex updated FLINK-13871:
-------------------------
Description:
{{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.
was:
{{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.
> 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
>
> {{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)