mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #1852] Old file size used for reading an object that was updated on remote #943
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#943
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 @hMED22 on GitHub (Jan 9, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1852
Additional Information
Version of s3fs being used (s3fs --version)
V1.90 (commit:v1.90) with OpenSSL
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
2.9.9-3
Kernel information (uname -r)
5.11.0-44-generic
GNU/Linux Distribution, if applicable (cat /etc/os-release)
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
s3fs command line used, if applicable
/etc/fstab entry, if applicable
s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)
On mount
First Read
Second read
Details about issue
If I update a file on my bucket using an other client (say on an other machine) then the next time I try to read it from s3fs it uses the old file size
For example if I already have an object
remote.txton my bucket with content1234then overide it by uploading an other with content456789abc, then reading this file again from s3fs mount gets me45678%althouht I did make sure it was already updated on the server.cat output:
1234mc catoutput:456789abccat output:
45678%@gaul commented on GitHub (Jan 9, 2022):
This is a consequence of how s3fs works. You can control the staleness of the cache via: