mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #839] git clone premature end of pack file #487
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#487
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 @quancore on GitHub (Oct 12, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/839
Version of s3fs being used: V1.84

Kernel information : 4.15.0-1023-aws
GNU/Linux Distribution:
/etc/fstab:
s3fs#csgo-ranking-prediction /home/ubuntu/s3 fuse _netdev,exec,allow_other,passwd_file=/etc/passwd-s3fs,cipher_suites=AESGCM,kernel_cache,max_background=1000,max_stat_cache_size=100000,multipart_size=52,parallel_count=30,multireq_max=30,umask=0002,uid=1000,gid=1000,dbglevel=warn 0 0system logs:
log.txt
error details:

@cortesea commented on GitHub (Nov 5, 2018):
Hi,
I have the same issue.
Have you succeeded in solving it?
@quancore commented on GitHub (Nov 7, 2018):
I have switched to goofys and decided to handle all kind of git operations on my local
@ggtakec commented on GitHub (Nov 11, 2018):
@quancore
I can not reproduce this problem.
I looked for similar problems, and they seemed to be occurring when repository capacity is large, git command is old, etc.
We would like to confirm the following for this Issue solution.
Is this problem also occurring in other repositories?
Is the git command occurred even at the latest?
@tkang007 commented on GitHub (Dec 5, 2018):
Hi,
It still happened, please reference below.
Error message when clone to s3 mounted directory:
@gaul commented on GitHub (Jan 24, 2019):
I tested this again against master including
5f5da4b2cbbut still experience these symptoms:@gaul commented on GitHub (Mar 15, 2019):
Problem persists with 1.85 but with slightly different symptoms:
@gaul commented on GitHub (May 4, 2019):
I made some progress on diagnosing this issue via mirrorfs. s3fs unexpectedly truncates a temporary file:
@gaul commented on GitHub (May 4, 2019):
I found that s3fs truncates unflushed open files when opening a second fd to them. The following example returns 4 with ext4 and 0 with s3fs:
@ggtakec commented on GitHub (May 5, 2019):
@gaul I was able to reproduce this problem.
If I try on the local disk, it will look like
The file system mounted with s3fs is as follows.
I think that the cause is the problem of time lag until file upload, and tested it with the following command.
As a result, both got the same result.
From this result, it seems that the following command is executed before the file output(upload) is completed.
The time to upload the object to S3 and complete will take much more time to complete writing to the local disk.
I think this is the reason.
@gaul commented on GitHub (Jul 3, 2019):
I successfully cloned the s3fs-fuse repository into an s3fs mount. Fixed by
c596441f58.