You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When using the cp command to copy or download objects, the progress bar logic is making an unnecessary headObject call (via client.stat) to retrieve the size of the object, even when the progress bar is explicitly disabled. This results in:
Increased Latency: Each unnecessary headObject call adds overhead, especially when downloading or copying a large number of small files.
Unnecessary Costs: Since headObject calls are billed requests, this behavior incurs additional costs for users, particularly in use cases involving bulk operations.
Expected Behavior:
If the progress bar is disabled (default), the cp command should skip the headObject call entirely, as the object size is not needed for progress tracking.
Steps to Reproduce:
Run a cp command with the progress bar disabled (default).
Observe network traffic logs (--log=trace) to confirm that a headObject call is still being made.
Impact:
Performance: Slower operations due to unnecessary API calls.
Cost: Increased billing for headObject requests, especially in bulk operations.
The text was updated successfully, but these errors were encountered:
Description:
When using the
cp
command to copy or download objects, the progress bar logic is making an unnecessaryheadObject
call (viaclient.stat
) to retrieve the size of the object, even when the progress bar is explicitly disabled. This results in:headObject
call adds overhead, especially when downloading or copying a large number of small files.headObject
calls are billed requests, this behavior incurs additional costs for users, particularly in use cases involving bulk operations.Expected Behavior:
If the progress bar is disabled (default), the
cp
command should skip theheadObject
call entirely, as the object size is not needed for progress tracking.Steps to Reproduce:
cp
command with the progress bar disabled (default).--log=trace
) to confirm that aheadObject
call is still being made.Impact:
headObject
requests, especially in bulk operations.The text was updated successfully, but these errors were encountered: