Elasticsearch watermark settings

Can elasticsearch watermark be set high? My reasoning is that I don't want one node to get stuck with all shards of days active (which I think will happen if a low watermark is detected - the low node will get all new shards that are allocated by the 8 node cluster), but disk space among my nodes is twisted and some nodes are much lower than others. So my thought is that once a tall watermark broke through, it would move other shards that should be okay with me.

+3


source to share


1 answer


Yes.

But seriously ... I don't understand why not: ES help says it will just stop allocating new disk space after reaching cluster.routing.allocation.disk.watermark.low

, and it will start moving them as soon as it cluster.routing.allocation.disk.watermark.high

is reached. So this would mean it would stop allocating disk space and start moving shards at the same time.



However, this can lead to some questions if the threshold is zero ...

+1


source







All Articles