You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a similar scenario as in #782, except when trying to get the content, Mountpoint reports that the version that is in the (metadata) cache is stale compared to the one in S3.
I cannot reproduce the successful second attempt, though. When using --cache and --metadata-ttl, Mountpoint will not try to refresh its metadata cache until the TTL expires, except on specific operations, like ls on the containing directory, or when opening the file with the O_DIRECT flag - see details here.
The logs you included do in fact show lines like this:
2024-02-26T09:31:40.493833Z DEBUG readdirplus{req=366 ino=2 fh=28 offset=0}: mountpoint_s3::inode: inode needs to be recreated parent=2 name="file" ino=3
which are likely the result of a ls finding a stale metadata entry and replacing it with a fresh one.
Mountpoint for Amazon S3 version
mount-s3 1.4.0
AWS Region
us-east-2
Describe the running environment
Running in local Ubuntu 22.04.4 LTS.
Mountpoint options
What happened?
This issue is similar to #782 which I previously created, but here I rewrite the object.
I am not sure whether this is expected behavior, so I would be grateful for clarifying.
The test I ran:
This case is different cause I can read successfully on the second attempt.
Also, if I skip
ls -lh /media/mount-s3/dir/file
then I would see a successful read on the first attempt.Cannot paste logs, so uploaded them here: mountpoint-s3-2024-02-26T09-31-13Z.log
Relevant log output
No response
The text was updated successfully, but these errors were encountered: