Skip to content

Conversation

@jaschrep-msft
Copy link
Member

Removes behavior from PartitionedUploader where if a block is at least half-filled with data, it will be uploaded as is without waiting for another stream read.

This is a behavior which produces inconsistent results and adds maintenance overhead. It has been removed.

Removed static method to buffer part of an existing stream
netstandard2.1 impl
Lots of values adjusted to account for behavior change
Some fixes for api changes
@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Apr 15, 2025
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@jaschrep-msft jaschrep-msft enabled auto-merge (squash) April 24, 2025 18:52
@jaschrep-msft jaschrep-msft merged commit 4d4c4e7 into Azure:main Apr 24, 2025
18 checks passed
jaschrep-msft added a commit to jaschrep-msft/azure-sdk-for-net that referenced this pull request May 5, 2025
Previously a helper method accomplished this. Now, the library uses
standard stream-copy APIs, and must remember to also rewind when needed.
Fixes live-only test where this rewind was forgotten in Azure#49416.
jaschrep-msft added a commit to jaschrep-msft/azure-sdk-for-net that referenced this pull request May 6, 2025
Previously a helper method accomplished this. Now, the library uses
standard stream-copy APIs, and must remember to also rewind when needed.
Fixes live-only test where this rewind was forgotten in Azure#49416.
seanmcc-msft pushed a commit that referenced this pull request May 6, 2025
Previously a helper method accomplished this. Now, the library uses
standard stream-copy APIs, and must remember to also rewind when needed.
Fixes live-only test where this rewind was forgotten in #49416.
nick863 pushed a commit that referenced this pull request May 8, 2025
* CopyToExact stream extension

* PooledMemoryStream changes

Removed static method to buffer part of an existing stream
netstandard2.1 impl

* fix tests

Lots of values adjusted to account for behavior change
Some fixes for api changes

* revert namechange

* remove more plumbing of max&min counts
nick863 pushed a commit that referenced this pull request May 8, 2025
Previously a helper method accomplished this. Now, the library uses
standard stream-copy APIs, and must remember to also rewind when needed.
Fixes live-only test where this rewind was forgotten in #49416.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants