-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build delete range aggregator Magic number mismatch: expected #10494
Comments
I can successfully reproduced this issue locally and verified several things:
I suspect there is something wrong in madsim s3 simulator so I turned on debug log in madsim and saw these debug logs in madsim relevant to the problematic object (id=93):
We can see that UploadPart for part_number=2 finishes before UploadPart for part_number=1, which is a valid behavior for S3 multipart upload since parts can be uploaded concurrently in different connections. However, after checking the madsim s3 simulator codes, the simulator seems to miss the ordering and put part2 before part1 in the object body. Root cause: although the simulator sorts the parts by number at first and populates a selection idx, it also sorts the selection idx afterwards. This causes the selection idx ordering to be identical with the parts original ordering and thus miss to order the parts by part number. |
Potential fix: madsim-rs/madsim#149 |
Similar error encountered today, but from
|
@kwannoel Is the issue resolved after the madsim fix? |
Yup, tested this issue + fuzzing-37 locally, in #10700. |
See https://gist.github.com/kwannoel/7f34fff04ee8f3eecdd8d10ab25bdc7f?permalink_comment_id=4608036#gistcomment-4608036 for more info.
The text was updated successfully, but these errors were encountered: