Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/6203#discussion_r199195959
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/taskmanager/AbstractTaskManagerFileHandler.java
---
@@ -152,6 +152,7 @@ protected void respondToRequest(ChannelHandlerContext
ctx, HttpRequest httpReque
},
ctx.executor());
+ CompletableFuture<Void> processingFinishedFuture = new
CompletableFuture<>();
--- End diff --
Let's remove this future and simply return the `whenComplete` return value.
---