Closed alanking closed 3 weeks ago
I wonder if the performance hit would only really affect large file uploads. When uploading many small files (arguably the main use case of this tool), establishing a new connection from the client side seems like it might be worse than just hopping through the server redirects, especially when you consider that the server-to-server connections are maintained inside the agent and may be reused.
allow_redirect
is now explicitly set to False
for all data-uploading operations.
We believe this is related to https://github.com/irods/python-irodsclient/issues/619.
This issue can be mitigated by specifying
allow_redirect=False
in the**options
map passed to the call to PRCput()
. However, this may negatively affect performance for file uploads as a direct connection with (i.e. a redirect to) the data's host will not be established as a direct result of that option.This issue was created in order to implement the mitigation technique should we decide not to increase the minimum PRC version required for use with this application.