First chunk of StorageStreamDownloader.chunks() is always 32MB big #15648
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Storage
Storage Service (Queues, Blobs, Files)
Describe the bug
When using the
StorageStreamDownloader
s chunk interator to download/iterator offer a blob the first chunk is always 32*1024*1024 bytes big, regardless of the setting formax_chunk_get_size
.To Reproduce
Steps to reproduce the behavior:
BlobClient
for a file bigger than 32 MBStorageStreamDownloader
for the blob:stream = blob_client.download_blob()
chunks()
function and print the chunk size:Expected behavior
Each chunk, apart from the last one, should have the size given by the
max_chunk_get_size
parameter, so by default 4*1024*1024 bytes.The text was updated successfully, but these errors were encountered: