1996fanrui commented on code in PR #1839:
URL:
https://github.com/apache/incubator-streampark/pull/1839#discussion_r996237931
##########
streampark-flink/streampark-flink-submit/streampark-flink-submit-core/src/main/scala/org/apache/streampark/flink/submit/trait/FlinkSubmitTrait.scala:
##########
@@ -105,6 +105,9 @@ trait FlinkSubmitTrait extends Logger {
val retainedOption = CheckpointingOptions.MAX_RETAINED_CHECKPOINTS
flinkConfig.set(retainedOption,
flinkDefaultConfiguration.get(retainedOption))
+ //set savepoint.ignore-unclaimed-state parameter
+
flinkConfig.setBoolean(SavepointConfigOptions.SAVEPOINT_IGNORE_UNCLAIMED_STATE,
submitRequest.savepointRestoreSettings.allowNonRestoredState())
Review Comment:
As I understand, `SavepointConfigOptions.SAVEPOINT_PATH` and
`SavepointConfigOptions.SAVEPOINT_IGNORE_UNCLAIMED_STATE` can replace the
`submitRequest.savepointRestoreSettings`. And the
`submitRequest.savepointRestoreSettings` isn't called in application mode, so
it's a bug.
So I suggest remove the `submitRequest.savepointRestoreSettings`.
--
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]