zoltar9264 commented on code in PR #20103:
URL: https://github.com/apache/flink/pull/20103#discussion_r940969237
##########
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/DefaultExecutionGraph.java:
##########
@@ -517,7 +527,16 @@ public void failJobDueToTaskFailure(
registerJobStatusListener(checkpointCoordinator.createActivatorDeactivator());
}
- this.stateBackendName =
checkpointStateBackend.getClass().getSimpleName();
+ if
(StateBackendLoader.isChangelogStateBackend(checkpointStateBackend)) {
+ this.stateChangelogEnabled = TernaryBoolean.TRUE;
+ StateBackend delegatedStateBackend =
+ ((DelegatingStateBackend)
checkpointStateBackend).getDelegatedStateBackend();
+ this.stateBackendName =
delegatedStateBackend.getClass().getSimpleName();
+ } else {
+ this.stateChangelogEnabled = TernaryBoolean.FALSE;
+ this.stateBackendName =
checkpointStateBackend.getClass().getSimpleName();
+ }
+
Review Comment:
Thanks @rkhachatryan , good idea, I have modified as your suggestion.
--
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]