Github user tillrohrmann commented on the issue: https://github.com/apache/flink/pull/6203 Good point. I see two solutions here: Either we let the `AbstractHandler` implementation which supports file upload be responsible for deleting the files once it has processed the request or we register a `whenComplete` handler on the response future and execute the clean up in this handler once the response is complete.
---