goofys
goofys copied to clipboard
File content not updated when the object is overwritten in bucket
Step to reproduce
- mount goofys with
goofys --region us-west-1 --stat-cache-ttl 1m0s --type-cache-ttl 1m0s --dir-mode 0755 --file-mode 0644 --uid 0 --gid 0 -o allow_other bucket /mnt/s3 - check file timestamp and content
- modify object in s3 bucket
- check file timestamp and content
- remount goofys
- check file timestamp and content
Expected
File content get updated as well as timestamp
Observed
Timestamp is updated but the content is old
-rw-r--r-- 1 root root 621 May 24 17:47 index.html
The content is the same as the version when goofys is mounted, not the latest one. It get updated after remount.
Other information
❯ goofys -v
goofys version 0.24.0-45b8d78375af1b24604439d2e60c567654bcdf88
did you check file within 1 minute or after 1 minute?
@kahing is there any way to prevent caching certain file? because i need to update an certain file several times in a min.., but i still need cache
Hey @with-kim did you find a solution? I ran into the same issue even without using any cache options