Skip to content

Commit aacdc65

Browse files
committed
Clarify required configuration for fs caching
1 parent 1b0a011 commit aacdc65

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/src/main/sphinx/object-storage/file-system-cache.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,17 @@ enable and configure caching for the specific catalogs.
112112
and set the values for `fs.cache.max-sizes` or
113113
`fs.cache.max-disk-usage-percentages` accordingly.
114114
* - `fs.cache.max-sizes`
115-
- Optional, comma-separated list of maximum [data sizes](prop-type-data-size)
116-
for each caching directory. Order of values must be identical to the
117-
directories list. Can not be used together with
118-
`fs.cache.max-disk-usage-percentages`.
115+
- Comma-separated list of maximum [data sizes](prop-type-data-size) for each
116+
caching directory. Order of values must be identical to the directories
117+
list. Configuring either `fs.cache.max-sizes` or
118+
`fs.cache.max-disk-usage-percentages` is required.
119119
* - `fs.cache.max-disk-usage-percentages`
120-
- Optional, comma-separated list of maximum percentage values of the used disk
121-
for each directory. Each value is an integer between 1 and 100. Order of
122-
values must be identical to the directories list. If multiple directories
123-
use the same disk, ensure that total percentages per drive remains below 100
124-
percent. Can not be used together with `fs.cache.max-sizes`.
120+
- Comma-separated list of maximum percentage values of the used disk for each
121+
directory. Each value is an integer between 1 and 100. Order of values must
122+
be identical to the directories list. If multiple directories use the same
123+
disk, ensure that total percentages per drive remains below 100 percent.
124+
Configuring either `fs.cache.max-sizes` or
125+
`fs.cache.max-disk-usage-percentages` is required.
125126
* - `fs.cache.ttl`
126127
- The maximum [duration](prop-type-duration) for objects to remain in the cache
127128
before eviction. Defaults to `7d`. The minimum value of `0s` means that caching

0 commit comments

Comments
 (0)