Skip to content

Conversation

@shrijeet
Copy link
Collaborator

Description

Blocks were added to BlockList in completion order rather than sequential order, causing data corruption. Zero pad block IDs and sort before committing to ensure correct blob reconstruction.

Also improve the existing test that was only checking file, the test would fail on main if integrity check was turned on.

How was this PR tested?

This PR passes the unit test, also has been runnin in for last two days in production without data corruption, prior to this PR - split was getting corrupted every 45 minutes.

@shrijeet shrijeet enabled auto-merge (squash) September 24, 2025 17:56
@shrijeet shrijeet force-pushed the shrijeet/azure-multi-part-bug-take2 branch 3 times, most recently from 94b4d85 to f034ae5 Compare September 24, 2025 18:28
@shrijeet
Copy link
Collaborator Author

shrijeet commented Sep 24, 2025

My gpg key is added to my account and I have signed it properly, but some some reason github still think commit is not signed

@shrijeet shrijeet force-pushed the shrijeet/azure-multi-part-bug-take2 branch from f034ae5 to 0e2d1af Compare September 24, 2025 18:37
Copy link
Member

@guilload guilload left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix looks good. I left some minor comments.

@shrijeet shrijeet force-pushed the shrijeet/azure-multi-part-bug-take2 branch 2 times, most recently from 0802ea2 to ec54eff Compare September 29, 2025 22:31
Blocks were added to BlockList in completion order rather than sequential
order, causing data corruption. Zero pad block IDs and sort before committing
to ensure correct blob reconstruction.

Also improve the existing test that was only checking file, the test
would fail on main if integrity check was turned on.

This PR passes the unit test, also has been runnin in for last two days in
production without data corruption, prior to this PR - split was getting
corrupted every 45 minutes.
@shrijeet shrijeet force-pushed the shrijeet/azure-multi-part-bug-take2 branch from ec54eff to c71bda2 Compare September 29, 2025 22:47
Copy link
Member

@guilload guilload left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved! Thanks @shrijeet.

@guilload guilload disabled auto-merge September 30, 2025 08:12
@guilload guilload merged commit 4bb6e2a into main Sep 30, 2025
8 checks passed
@guilload guilload deleted the shrijeet/azure-multi-part-bug-take2 branch September 30, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants