gyfora commented on code in PR #193:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/193#discussion_r865824557
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/FlinkConfigBuilder.java:
##########
@@ -216,6 +217,9 @@ protected FlinkConfigBuilder applyJobOrSessionSpec() throws
URISyntaxException {
effectiveConfig.set(
CoreOptions.DEFAULT_PARALLELISM,
spec.getJob().getParallelism());
}
+ if (spec.getJob().isAllowNonRestoredState()) {
+
effectiveConfig.set(SavepointConfigOptions.SAVEPOINT_IGNORE_UNCLAIMED_STATE,
true);
Review Comment:
we could also add a test for this to make sure the spec takes precedence
--
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]