wsry commented on code in PR #19653:
URL: https://github.com/apache/flink/pull/19653#discussion_r882373238
##########
flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/TaskExecutor.java:
##########
@@ -901,7 +901,12 @@ public void releaseOrPromotePartitions(
try {
partitionTracker.stopTrackingAndReleaseJobPartitions(partitionToRelease);
partitionTracker.promoteJobPartitions(partitionsToPromote);
-
+ if (establishedResourceManagerConnection != null) {
+ establishedResourceManagerConnection
+ .getResourceManagerGateway()
+ .reportClusterPartitions(
Review Comment:
Why we need to report cluster partitions here? Does it means to add the
cluster partition to the ClusterPartitionManager? What would happen if we do
this add the JM side directly?
--
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]