curcur commented on a change in pull request #14943: URL: https://github.com/apache/flink/pull/14943#discussion_r578904214
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/state/StateBackendLoader.java ########## @@ -204,6 +222,11 @@ public static StateBackend fromApplicationOrConfigOrDefault( // (1) the application defined state backend has precedence if (fromApplication != null) { + + checkArgument( + !(fromApplication instanceof DelegateStateBackend), + "DelegateStateBackend can not be delegated!"); Review comment: Why not? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org