Currently, configuration needs to consist of something like this:
druid.segmentCache.locations=[{"path": "/home/indexCache", "maxSize": 100000000000}]
druid.server.maxSize=100000000000
As I understand, server.maxSize is usually (if not always) equal the sum of maxSize's inside locations. Perhaps it can be set to this sum by default, then?
Most people would then probably not have to set twice the same thing and if, for some reason, somebody wants a different value there, they can still override it manually.
If this makes sense, I think I could bake a PR to implement it.
[Having support for units other than bytes would be nice to have, as well. A separate change, though, I guess.]
Currently, configuration needs to consist of something like this:
As I understand,
server.maxSizeis usually (if not always) equal the sum ofmaxSize's insidelocations. Perhaps it can be set to this sum by default, then?Most people would then probably not have to set twice the same thing and if, for some reason, somebody wants a different value there, they can still override it manually.
If this makes sense, I think I could bake a PR to implement it.
[Having support for units other than bytes would be nice to have, as well. A separate change, though, I guess.]