mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #40] Moving a directory containing more than 1000 files truncates the directory #23
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#23
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 @kubrickfr on GitHub (Jun 18, 2014).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/40
Move to a s3fs mount point and
The directory contains 1235 files
now do
You may see an error such as
mv: cannot movetest' totest2/test': Input/output errorand the directory only contains only 1000 files.
A quick look at the code, maybe this is the problem?
github.com/s3fs-fuse/s3fs-fuse@29a37645dd/src/s3fs.cpp (L2244)@kubrickfr commented on GitHub (Jun 18, 2014):
Also the problem is a lot worse with subdirectories as the mv operation actually loses content.
@thenickdude commented on GitHub (Jun 18, 2014):
Ouch. Does it permanently lose content, or does executing "mkdir test" make
the old files appear again?
On 18 June 2014 22:58, François Guerraz notifications@github.com wrote:
@kubrickfr commented on GitHub (Jun 18, 2014):
no you're right, the content is actually still here, it's probably only deleted from the stat cache.
@ggtakec commented on GitHub (Jun 22, 2014):
When I tried to reappear, sometimes I got a error(EIO) while making files.
s3fs returns EIO error when s3fs gets 400 status code from S3 server.
It seems that the error is because time of the request is the future(1s) from S3 server's time.
I continue to find the reason of this error.
Regards,
@ggtakec commented on GitHub (Jun 23, 2014):
The EIO error is a bug, I posted new issue #41
And I could reappear this issue, I'm checking codes.
Please wait.
@ggtakec commented on GitHub (Jun 28, 2014):
Mereged #44
Fixed this issue(bug) by #44