ztison commented on code in PR #26088:
URL: https://github.com/apache/flink/pull/26088#discussion_r1933525280
##########
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/Restarting.java:
##########
@@ -44,7 +46,7 @@ class Restarting extends StateWithExecutionGraph {
@Nullable private ScheduledFuture<?> goToSubsequentStateFuture;
- private final boolean forcedRestart;
+ private final @Nullable VertexParallelism restartWithParallelism;
Review Comment:
I believe this is not a typical pattern for using Optional<>. It is
generally considered an output type rather than a type for method arguments.
--
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]