Vadim Pakhnushev created IGNITE-27350:
-----------------------------------------
Summary: Verify deployment contents
Key: IGNITE-27350
URL: https://issues.apache.org/jira/browse/IGNITE-27350
Project: Ignite
Issue Type: Bug
Components: compute ai3
Reporter: Vadim Pakhnushev
Assignee: Vadim Pakhnushev
When deploying units using REST manually from the file tree there could be a
duplicate file name in the parameters. Since we use only flat file collection
for the {{deployUnit}} endpoint, this could lead to the unwanted file overwrite
or hard to diagnose problems with deployment.
We need to verify the contents early and throw a clear exception explaining
that this endpoint can only accept uniquely named files otherwise if directory
structure needs to be preserved, user should use {{deployZipUnit}} endpoint.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)