[Storage] Simplify Encoder seek, fix SM streaming retry#46564
Merged
jalauzon-msft merged 4 commits intoApr 28, 2026
Merged
Conversation
jalauzon-msft
requested review from
annatisch,
vincenttran-msft and
weirongw23-msft
as code owners
April 27, 2026 22:39
weirongw23-msft
approved these changes
Apr 28, 2026
jalauzon-msft
merged commit Apr 28, 2026
6ae8592
into
Azure:feature/storage/content-validation-102
26 checks passed
jalauzon-msft
added a commit
that referenced
this pull request
Apr 28, 2026
jalauzon-msft
added a commit
that referenced
this pull request
May 15, 2026
jalauzon-msft
added a commit
that referenced
this pull request
May 19, 2026
kashifkhan
pushed a commit
that referenced
this pull request
May 20, 2026
* [Storage] [STG 102] Create File with Data (#44901) * [Storage][102] CRC64 content validation - part 1 (#45096) * [Storage][102] CRC64 content validation - part 2 (#45567) * [Storage][102] CRC64 content validation - part 3 (#45861) * [Storage][102] CRC64 content validation - part 4 (#45949) * [Storage] [STG 102] Added Support for IPv6 Accounts + Data Lake Tag Tests (#45766) * Fixed test collection bug * [Storage][102] CRC64 content validation - part 5 - datalake (#46034) * [Storage][102] CRC64 content validation - part 6 - file-share (#46262) * [Storage][102] CRC64 content validation - part 7 - record tests (#46461) * [Storage] Simplify Encoder seek, fix SM streaming retry (#46564) * [Storage] Cleanup and prepare content validation for merge to main (#46971) * Fix changelogs after merge * Tools black, Copilot feedback --------- Co-authored-by: Peter Wu <162184229+weirongw23-msft@users.noreply.github.com> Co-authored-by: Peter Wu <weirongwu@microsoft.com>
ninghu
pushed a commit
to ninghu/azure-sdk-for-python
that referenced
this pull request
May 22, 2026
* [Storage] [STG 102] Create File with Data (Azure#44901) * [Storage][102] CRC64 content validation - part 1 (Azure#45096) * [Storage][102] CRC64 content validation - part 2 (Azure#45567) * [Storage][102] CRC64 content validation - part 3 (Azure#45861) * [Storage][102] CRC64 content validation - part 4 (Azure#45949) * [Storage] [STG 102] Added Support for IPv6 Accounts + Data Lake Tag Tests (Azure#45766) * Fixed test collection bug * [Storage][102] CRC64 content validation - part 5 - datalake (Azure#46034) * [Storage][102] CRC64 content validation - part 6 - file-share (Azure#46262) * [Storage][102] CRC64 content validation - part 7 - record tests (Azure#46461) * [Storage] Simplify Encoder seek, fix SM streaming retry (Azure#46564) * [Storage] Cleanup and prepare content validation for merge to main (Azure#46971) * Fix changelogs after merge * Tools black, Copilot feedback --------- Co-authored-by: Peter Wu <162184229+weirongw23-msft@users.noreply.github.com> Co-authored-by: Peter Wu <weirongwu@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change simplifies the
StructuredMessageEncodeStream.seekmethod to only support seeking to position zero withSEEK_SET. This also simplifiedreada bit as we no longer need to track the checksum offset, checksums will just be re-computed. This was done because this stream is not exposed to users andseekis only used internally for retry where it will always useSEEK_SETto0. The previous logic, while correct, while quite complex and difficult to maintain.Additionally, this adds a test for and fixes an issue with crc64 streaming retry in async by making the
closemethod a no-op. Theclosemethod is automatically called byaiohttpso retries would break.