mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1248] File content not being updated but timestamps are! #667
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#667
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 @sharmad on GitHub (Feb 26, 2020).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1248
Version of s3fs being used
1.79
Version of fuse being used
2.9.4
Kernel information (uname -r)
4.14.158-101.185.amzn1.x86_64
GNU/Linux Distribution, if applicable (cat /etc/os-release)
/etc/fstab entry
Details about issue
We have several servers using s3fs-fuse to mount the same s3 bucket and accessing the target file object. However, we found that updating the file, updated it in some servers but not in others. Interestingly, the timestamp updated in all servers and their caches, but the content didn't for around half.
It should also be noted that we were just updating one character in this 20.9kb file. For example, going from "38" to "37" in a line somewhere in the file.
Temporarily, this was fixed by removing the file from the cache directory of the problematic servers. After this we got the updated content! And the cache gets updated too with the new file/content.
@gaul commented on GitHub (Apr 22, 2020):
By default s3fs does not have a stat cache age. If you set
-o stat_cache_expire=60does the time update on other servers?@gaul commented on GitHub (Jul 26, 2020):
Closing due to inactivity. Please reopen if symptoms persist.