From 65c3ce43bfe1a0df870c8e6002a7980d77291f64 Mon Sep 17 00:00:00 2001 From: Weijie Guo Date: Thu, 15 Jun 2023 19:38:03 +0800 Subject: [PATCH] [hotfix][state] Fix incorrect comments of channel input state redistribution. --- .../flink/runtime/checkpoint/StateAssignmentOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/StateAssignmentOperation.java b/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/StateAssignmentOperation.java index e476c6b65ecca..63589b49ffbd8 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/StateAssignmentOperation.java +++ b/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/StateAssignmentOperation.java @@ -432,7 +432,7 @@ public void reDistributeInputChannelStates(TaskStateAssignment stateAssignment) // old assignment: 0 -> [0;43); 1 -> [43;87); 2 -> [87;128) // new assignment: 0 -> [0;64]; 1 -> [64;128) // subtask 0 recovers data from old subtask 0 + 1 and subtask 1 recovers data from old - // subtask 0 + 2 + // subtask 1 + 2 for (int gateIndex = 0; gateIndex < inputs.size(); gateIndex++) { final RescaleMappings mapping = stateAssignment.getInputMapping(gateIndex).getRescaleMappings();