mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #2189] Delay in updating file's modified timestamp on EBS #1116
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#1116
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 @nitishtw on GitHub (Jun 17, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2189
We have mounted an s3 bucket through
s3fsonto an EC2 machine which is being used for an SFTP use-case. We have lately observed that if the same file is re-uploaded to s3 bucket then it takes around 5-10 mins time to reflect the updated modification time inside EC2 box.Ex - If a file
cost.csvis re-uploaded at 3:40 PM in s3 bucket then if I runls -lahinside EC2 box; the mtime of file will not be modified for the first 5-10 mins; and it will not reflect 3:40 PM as mtime of the file.Initially we had a hunch that it was happening due to s3 eventual consistency model; but we also have one AWS managed transfer family setup which also use s3 as backend; and we haven't seen any use-case or behaviour like this.
AWS support also confirmed that this might be an issue with s3fs and not with s3! Have we seen such issues in past or is it a known issue? and is there any suggested fix for this?
@gaul commented on GitHub (Jun 20, 2023):
s3fs caches stat entries for 900 seconds (15 minutes) by default. You can control this via
-o stat_cache_expire