zhuzhurk commented on a change in pull request #8851: [FLINK-12876] [runtime] 
Add an adapter of region failover NG for legacy scheduler
URL: https://github.com/apache/flink/pull/8851#discussion_r296981716
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionVertex.java
 ##########
 @@ -576,7 +576,7 @@ else if (numSources < parallelism) {
         */
        public Execution resetForNewExecution(final long timestamp, final long 
originatingGlobalModVersion)
                        throws GlobalModVersionMismatch {
-               LOG.debug("Resetting execution vertex {} for new execution.", 
getTaskNameWithSubtaskIndex());
+               LOG.info("Resetting execution vertex {} to CREATED state for 
new execution.", getTaskNameWithSubtaskIndex());
 
 Review comment:
   Currently we have log tracking vertex state transitions in most 
cases(through Execution::transitionState), but lack log of transition to 
CREATED state(it is directly set). I think this could be helpful to track 
vertex lifecycle. 
   WDYT?

----------------------------------------------------------------
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

Reply via email to