-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify the expected behavior of the --metadata-ttl
option set to zero
#759
Comments
Yes, When caching is disabled (i.e. no mountpoint-s3/mountpoint-s3/src/fs.rs Lines 303 to 313 in 022f915
This
We probably should just forbid |
@jamesbornholt Thank you for such a detailed explanation. Now it's clear to me why I saw such behavior for the Now, as I understand that |
#855 introduces a warning when using Warning The --metadata-ttl 0 setting is no longer supported and will be removed in a future release. The new --metadata-ttl minimal has a similar effect, but behaves better when latency for S3 requests is high. We have also added more details in the documentation, see the Metadata Cache section in CONFIGURATION.md. |
In an attempt to disable the metadata cache, I set the
--metadata-ttl=0
, referencing #616 as a potential guide. However, this resulted in a significant increase inList
andHead
requests, exceeding even the number observed with the cache completely disabled.While I'm uncertain about the intended behavior of
--metadata-ttl=0
, I assume it should either disable the metadata cache (if feasible) or be prevented from being accepted as a CLI option.The text was updated successfully, but these errors were encountered: