mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #2264] Only when refreshing the directory, the meta information(timestamp) of files in that directory will be updated #1139
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#1139
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 @jestiny0 on GitHub (Aug 14, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2264
Additional Information
Version of s3fs being used (
s3fs --version)V1.86
Version of fuse being used (
pkg-config --modversion fuse,rpm -qi fuseordpkg -s fuse)2.9.9-3
Kernel information (
uname -r)5.15.0-1040-aws
GNU/Linux Distribution, if applicable (
cat /etc/os-release)NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
How to run s3fs, if applicable
mkdir /models-s3 && echo xxx > /passwd-s3fs && chmod 600 /passwd-s3fs && s3fs model /models-s3 -o passwd_file=/passwd-s3fsDetails about issue
I have a Java program that checks the timestamp and size of a certain file to determine whether to reload the file. The core code is as follows:
Problem Reproduction:
@gaul commented on GitHub (Aug 14, 2023):
1.86 has no default time limit for caching metadata. If you set
-o stat_cache_expire=900then it will only be cached for 15 minutes. 1.89 and later set this value by default.@jestiny0 commented on GitHub (Aug 15, 2023):
Fixed! Thanks for your reply