Skip to content

Commit

Permalink
Clarify required configuration for fs caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mosabua committed Jun 19, 2024
1 parent 1b0a011 commit e142288
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions docs/src/main/sphinx/object-storage/file-system-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,17 @@ enable and configure caching for the specific catalogs.
and set the values for `fs.cache.max-sizes` or
`fs.cache.max-disk-usage-percentages` accordingly.
* - `fs.cache.max-sizes`
- Optional, comma-separated list of maximum [data sizes](prop-type-data-size)
for each caching directory. Order of values must be identical to the
directories list. Can not be used together with
`fs.cache.max-disk-usage-percentages`.
- Comma-separated list of maximum [data sizes](prop-type-data-size) for each
caching directory. Order of values must be identical to the directories
list. Configuring either `fs.cache.max-sizes` or
`fs.cache.max-disk-usage-percentages` is required.
* - `fs.cache.max-disk-usage-percentages`
- Optional, comma-separated list of maximum percentage values of the used disk
for each directory. Each value is an integer between 1 and 100. Order of
values must be identical to the directories list. If multiple directories
use the same disk, ensure that total percentages per drive remains below 100
percent. Can not be used together with `fs.cache.max-sizes`.
- Comma-separated list of maximum percentage values of the used disk for each
directory. Each value is an integer between 1 and 100. Order of values must
be identical to the directories list. If multiple directories use the same
disk, ensure that total percentages per drive remains below 100 percent.
Configuring either `fs.cache.max-sizes` or
`fs.cache.max-disk-usage-percentages` is required.
* - `fs.cache.ttl`
- The maximum [duration](prop-type-duration) for objects to remain in the cache
before eviction. Defaults to `7d`. The minimum value of `0s` means that caching
Expand Down

0 comments on commit e142288

Please sign in to comment.