zentol opened a new pull request #7300: [FLINK-11151][rest] Create parent directories in FileUploadHandler URL: https://github.com/apache/flink/pull/7300 ## What is the purpose of the change With this PR the FileUploadHandle checks that the upload directory still exists before accepting a request, and regenerates it if this isn't the case. This behavior is in sync with the handling of deleted upload directories during an upload (see the `msg instanceof HttpContent` branch). Previously, if the directory has been deleted, the handler would continuously fail in this situation. ## Brief change log * call to `RestServerEndpoint.createUploadDir` before creating request-scoped directory ## Verifying this change This change added tests and can be verified as follows: * `org.apache.flink.runtime.rest.FileUploadHandlerTest#testUploadDirectoryRegeneration`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
