Zakelly commented on code in PR #24480:
URL: https://github.com/apache/flink/pull/24480#discussion_r1546024980


##########
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/metadata/MetadataV2V3SerializerBase.java:
##########
@@ -677,6 +734,18 @@ static void serializeStreamStateHandle(StreamStateHandle 
stateHandle, DataOutput
             RelativeFileStateHandle relativeFileStateHandle = 
(RelativeFileStateHandle) stateHandle;
             dos.writeUTF(relativeFileStateHandle.getRelativePath());
             dos.writeLong(relativeFileStateHandle.getStateSize());
+        } else if (stateHandle instanceof SegmentFileStateHandle) {
+            if (stateHandle instanceof EmptySegmentFileStateHandle) {
+                dos.writeByte(EMPTY_SEGMENT_FILE_HANDLE);

Review Comment:
   Ah.... I missed the 
`serializeStreamStateHandle(stateHandle.getDelegateStateHandle(), dos);` part



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to