mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #2325] [MERGED] Fixed a bug upload boundary calculation in StreamUpload #2479
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2479
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2325
Author: @ggtakec
Created: 9/18/2023
Status: ✅ Merged
Merged: 9/25/2023
Merged by: @gaul
Base:
master← Head:fix_streamupload📝 Commits (1)
9076d9dFixed a bug upload boundary calculation in StreamUpload📊 Changes
2 files changed (+72 additions, -1 deletions)
View changed files
📝
src/fdcache_fdinfo.cpp(+1 -1)📝
test/integration-test-main.sh(+71 -0)📄 Description
Relevant Issue (if applicable)
#2299
Details
Fixed the bug detected in #2299.
There was a problem in calculating the start position of the upload part during Streamupload, and it has been fixed.
We have also added a test case(
test_not_boundary_writes) to detect this defect.Although it is possible to include it in the
test_write_data_with_skiptest, I made it independent as a test case.Note
Currently, Github Action CI is failing for this PR due to a stat(cached) issue.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.