zentol commented on a change in pull request #8430: [FLINK-12068] [runtime]
Backtrack failover regions if intermediate results are unavailable
URL: https://github.com/apache/flink/pull/8430#discussion_r284209417
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/failover/flip1/RestartPipelinedRegionStrategy.java
##########
@@ -47,8 +50,14 @@
/** The topology containing info about all the vertices and edges. */
private final FailoverTopology topology;
+ /** All failover regions. */
+ private final IdentityHashMap<FailoverRegion, Object> regions;
+
/** Maps execution vertex id to failover region. */
- private final Map<ExecutionVertexID, FailoverRegion> regions;
+ private final Map<ExecutionVertexID, FailoverRegion> vertexToRegionMap;
+
+ /** The checker helps to query result partition availability. */
+ private RegionFailoverResultPartitionAvailabilityChecker
resultPartitionAvailabilityChecker;
Review comment:
can be final
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services