Open mniewrzal opened 2 years ago
Commented by Egon Elbre
One part of the implementation is in https://review.dev.storj.io/c/storj/storj/+/4782
Commented by Egon Elbre
Currently we fixed that the first segment we download using DownloadObject uses the proper range request. This will handle most of the cases.
However, we still have to ensure that the lazily loaded segments (not the first one) use the proper limit.
Download requests currently allocate the size of the segment requested, regardless of the range request. We should only allocate what was requested.
This needs two fixes: -1. ensure that DownloadObject only allocates what’s needed.- (done)
Migrated from https://storjlabs.atlassian.net/browse/PG-222