[
https://issues.apache.org/jira/browse/FLINK-21362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286405#comment-17286405
]
Robert Metzger commented on FLINK-21362:
----------------------------------------
Draft PR: https://github.com/apache/flink/pull/14923
> Remove State#onEnter
> --------------------
>
> Key: FLINK-21362
> URL: https://issues.apache.org/jira/browse/FLINK-21362
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Coordination
> Reporter: Chesnay Schepler
> Assignee: Robert Metzger
> Priority: Major
> Fix For: 1.13.0
>
>
> Since we no longer need to construct the new state before calling
> {{State#onLeave}} we could remove {{State#onEnter}} and move all contained
> logic into the constructor.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)