mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #702] Second PUT event missing for files over 25 MB #396
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#396
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 @stephanechauvin on GitHub (Dec 19, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/702
My issue
I encounter an odd behavior when I upload "large" files in a s3fs mounted directory (through sftp) :
for files that are bigger than 26MB, I correctly have the first PUT event (with a size of 0 byte), but never the second when the files is completely uploaded.
Although it works correctly for files under 25 MB (first 0 size PUT event, then the "regular" final PUT event).
Nevertheless, all files are correctly copied into the S3 bucket, regardless of their size.
It's just the second PUT event that is missing for files over 26 MB...
The uploaded files are XML files (UTF-8 encoded).
Thanks in advance for any help !
Additional Information
Version of s3fs being used (s3fs --version)
V1.80
Version of fuse being used (pkg-config --modversion fuse)
2.9.4
System information (uname -r)
4.4.0-97-generic
Distro (cat /etc/issue)
Ubuntu 16.04.3 LTS
/etc/fstab entry (if applicable):
s3fs syslog messages (grep s3fs /var/log/syslog, or s3fs outputs)
@stephanechauvin commented on GitHub (Jan 2, 2018):
My problem is solved by using the
nomultipartoption@sqlbot commented on GitHub (Jan 2, 2018):
@stephanechauvin alternately, don't use
ObjectCreated:Putfor your S3 event trigger. UsingObjectCreated:*, instead, will catch any object created in the bucket, whether by put, post, copy, or completion of a multipart upload (which is not equivalent to a "put").