Roman Khachatryan created FLINK-19907:
-----------------------------------------
Summary: Channel state (upstream) can be restored after emission of new elements (watermarks)
Key: FLINK-19907
URL:
https://issues.apache.org/jira/browse/FLINK-19907 Project: Flink
Issue Type: Bug
Components: Runtime / Network
Affects Versions: 1.11.2, 1.12.0
Reporter: Roman Khachatryan
Assignee: Roman Khachatryan
Fix For: 1.12.0
In StreamTask.beforeInvoke:
operatorChain.initializeStateAndOpenOperators(createStreamTaskStateInitializer()); readRecoveredChannelState();
But operatorChain.initializeStateAndOpenOperators can emit watermarks (or potentially some other stream elements).
I've encountered this issue while adding an EndOfRecovery marker - in some runs of in OverWindowITCase.testRowTimeBoundedPartitionedRangeOver the marker was emitted after the watermark.
cc: [~zjwang], [~pnowojski]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)