wanglijie95 commented on a change in pull request #18102:
URL: https://github.com/apache/flink/pull/18102#discussion_r787338920
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/failover/flip1/partitionrelease/RegionPartitionGroupReleaseStrategy.java
##########
@@ -144,6 +149,54 @@ private PipelinedRegionExecutionView
getPipelinedRegionExecutionViewForVertex(
return releasablePartitionGroups;
}
+ @VisibleForTesting
+ public boolean isRegionOfVertexFinished(final ExecutionVertexID
executionVertexId) {
+ final PipelinedRegionExecutionView regionExecutionView =
+ getPipelinedRegionExecutionViewForVertex(executionVertexId);
+ return regionExecutionView.isFinished();
+ }
+
+ @Override
+ public void notifySchedulingTopologyUpdated(
+ SchedulingTopology schedulingTopology, List<ExecutionVertexID>
newlyAddedVertices) {
+
+ final List<ConsumerRegionGroupExecutionView> newlyAddedRegionGroup =
new ArrayList<>();
Review comment:
OK, I will change the method accoridng your suggesstion.
--
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]