This is an automated email from the ASF dual-hosted git repository.
hongshun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluss.git
The following commit(s) were added to refs/heads/main by this push:
new 8eaad3b24 [minor][flink] Remove unnecessary java notes (#2444)
8eaad3b24 is described below
commit 8eaad3b24662f9098c9fe1982f93c3ff7610e896
Author: Leonard Xu <[email protected]>
AuthorDate: Fri Jan 23 10:10:43 2026 +0800
[minor][flink] Remove unnecessary java notes (#2444)
---
.../fluss/flink/sink/shuffle/StatisticsOrRecordChannelComputer.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/shuffle/StatisticsOrRecordChannelComputer.java
b/fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/shuffle/StatisticsOrRecordChannelComputer.java
index 692d5b28d..30e9ebeb4 100644
---
a/fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/shuffle/StatisticsOrRecordChannelComputer.java
+++
b/fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/shuffle/StatisticsOrRecordChannelComputer.java
@@ -187,12 +187,10 @@ public class StatisticsOrRecordChannelComputer<InputT>
String currentKey = null;
long keyRemainingWeight = 0L;
long subtaskRemainingWeight = targetWeightPerSubtask;
- // todo: 计算assigned 的 subtasks 列表,并计算每个subtask的 weight
List<Integer> assignedSubtasks = new ArrayList<>();
List<Long> subtaskWeights = new ArrayList<>();
while (mapKeyIterator.hasNext() || currentKey != null) {
// This should never happen because target weight is calculated
using ceil function.
- // todo: numPartitions是下游的所有id
if (subtaskId >= downstreamParallelism) {
LOG.error(
"Internal algorithm error: exhausted subtasks with
unassigned keys left. number of partitions: {}, "