zhuzhurk commented on code in PR #20082:
URL: https://github.com/apache/flink/pull/20082#discussion_r910833904


##########
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionVertex.java:
##########
@@ -133,24 +137,33 @@ public ExecutionVertex(
 
         this.executionHistory = new 
ExecutionHistory(executionHistorySizeLimit);
 
-        this.currentExecution =
-                new Execution(
-                        getExecutionGraphAccessor().getFutureExecutor(),
-                        this,
-                        initialAttemptCount,
-                        createTimestamp,
-                        timeout);
-
-        getExecutionGraphAccessor().registerExecution(currentExecution);
+        this.nextAttemptNumber = initialAttemptCount;
 
         this.timeout = timeout;

Review Comment:
   An empty line is not required and these 2 lines are not introduced in this 
PR. So I would leave it as is.



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

Reply via email to