Skip to content

Getting druid.server.maxSize out of the way #6469

@KenjiTakahashi

Description

@KenjiTakahashi

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.]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions