[ https://issues.apache.org/jira/browse/FLINK-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339693#comment-16339693 ]
ASF GitHub Bot commented on FLINK-8345: --------------------------------------- Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/5230#discussion_r163932401 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/OperatorBackendSerializationProxy.java --- @@ -64,11 +70,18 @@ public int getVersion() { public void write(DataOutputView out) throws IOException { super.write(out); - out.writeShort(stateMetaInfoSnapshots.size()); - for (RegisteredOperatorBackendStateMetaInfo.Snapshot<?> kvState : stateMetaInfoSnapshots) { + out.writeShort(operatorStateMetaInfoSnapshots.size()); + for (RegisteredOperatorBackendStateMetaInfo.Snapshot<?> kvState : operatorStateMetaInfoSnapshots) { + OperatorBackendStateMetaInfoSnapshotReaderWriters + .getOperatorStateWriterForVersion(VERSION, kvState) + .writeOperatorStateMetaInfo(out); + } + + out.writeShort(broadcastStateMetaInfoSnapshots.size()); + for (RegisteredBroadcastBackendStateMetaInfo.Snapshot<?, ?> kvState : broadcastStateMetaInfoSnapshots) { --- End diff -- same here: the naming of the `kvState` variable here is actually a bit odd > Iterate over keyed state on broadcast side of connect with broadcast. > --------------------------------------------------------------------- > > Key: FLINK-8345 > URL: https://issues.apache.org/jira/browse/FLINK-8345 > Project: Flink > Issue Type: New Feature > Components: Streaming > Affects Versions: 1.5.0 > Reporter: Kostas Kloudas > Assignee: Kostas Kloudas > Priority: Major > Fix For: 1.5.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)