mirror of https://github.com/apache/druid.git
Fix unclear documentation of human readable byte (#10825)
* Fix unclear documentation of human readable byte Follows https://github.com/apache/druid/pull/10203 ; See https://github.com/apache/druid/pull/10203#issuecomment-771080634 . * Fix sentence style Co-authored-by: Charles Smith <38529548+techdocsmith@users.noreply.github.com> Co-authored-by: Charles Smith <38529548+techdocsmith@users.noreply.github.com>
This commit is contained in:
parent
b79b7e6dfb
commit
dfad38d561
|
@ -46,10 +46,11 @@ When you have to put a large number for some configuration as above, it is easy
|
|||
Given a disk of 1T, the configuration can be
|
||||
|
||||
```properties
|
||||
druid.segmentCache.locations=[{"path":"/segment-cache","maxSize":"1t"}]
|
||||
druid.segmentCache.locations=[{"path":"/segment-cache-00","maxSize":"1t"},{"path":"/segment-cache-01","maxSize":"1200g"}]
|
||||
```
|
||||
|
||||
Note: in above example, both `1t` and `1T` are acceptable since it's case-insensitive.
|
||||
Also, only integers are valid as the number part. For example, you can't replace `1200g` with `1.2t`.
|
||||
|
||||
### Supported Units
|
||||
In the world of computer, a unit like `K` is ambiguous. It means 1000 or 1024 in different contexts, for more information please see [Here](https://en.wikipedia.org/wiki/Binary_prefix).
|
||||
|
|
Loading…
Reference in New Issue