Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/3522#discussion_r108463247
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CompletedCheckpoint.java
---
@@ -213,6 +218,23 @@ public boolean discard(JobStatus jobStatus) throws
Exception {
void discard() throws Exception {
try {
+ // check if we have a shortcut hook to dispose the state
+ final StateDisposeHook disposeHook = this.disposeHook;
+ if (disposeHook != null) {
+ // fast path!
+ try {
+ disposeHook.disposeCheckpointState();
+ return;
+ }
+ catch (Exception e) {
+ // we catch all exceptions here to make
sure we go through the generic path as a
+ // fallback in case where cleanup fails
+ LOG.warn("Fast cleanup hook f");
--- End diff --
`e` is being swallowed and the log message seems to be truncated.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---