rkhachatryan commented on code in PR #19331:
URL: https://github.com/apache/flink/pull/19331#discussion_r844893944


##########
flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/RestoreMode.java:
##########
@@ -53,4 +53,6 @@
     public InlineElement getDescription() {
         return text(description);
     }
+
+    public static final RestoreMode DEFAULT = NO_CLAIM;

Review Comment:
   Good point, I think I'll change the `defaultValue` of 
`SavepointConfigOptions.RESTORE_MODE` to `RestoreMode.DEFAULT`:
   ```
   public static final ConfigOption<RestoreMode> RESTORE_MODE =
           key("execution.savepoint-restore-mode")
                   .enumType(RestoreMode.class)
                   .defaultValue(RestoreMode.DEFAULT)
   ```



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