Kezhu Wang created FLINK-22108:
----------------------------------
Summary: Ephemeral socket address was checkpointed to state and
restored back in CollectSinkOperatorCoordinator
Key: FLINK-22108
URL: https://issues.apache.org/jira/browse/FLINK-22108
Project: Flink
Issue Type: Bug
Components: API / DataStream
Affects Versions: 1.13.0
Reporter: Kezhu Wang
{{CollectSinkOperatorCoordinator}} checkpointed its {{address}} field to state
and restored back. That field is listener address of {{CollectSinkFunction}}.
After {{resetToCheckpoint}} (eg. global failover}}, {{address}} is meaningless.
If client request comes before {{CollectSinkAddressEvent}}, it will use that
meaningless address for connection. In best situation, error happens, and
nothing hurts. In bad situation, no one knows where the restored address points
to now.
cc [~TsReaper] [~ykt836]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)