mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #1754] Question: Does s3fs support random write when NoCacheMultipartPost kicked in? #903
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#903
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?
Originally created by @VVoidV on GitHub (Aug 30, 2021).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1754
In version 1.89, start position of NoCachemultipartUpload is recorded by mp_start, it seems like this variable is increase only(grow by mp_size).
Consider this case:
I find the mp_start will grow in step 3, and the hole created in step 2 will be uploaded. but the data written in step 4 will never be uploaded.
It seems like 1.90 not support this either ( I haven't tested it). Because pseudo_obj->AppendUploadPart only allow exactly continuousf area to be added.
@VVoidV commented on GitHub (Sep 2, 2021):
One more thing, while I write only 10MB in step 3, and seek back to 400MB, then write more than 10MB to trigger a put, the curl put request will get no data to transfer. I think we can do better here. we should fail the write req when disk cache run out.