DiskThresholdDecider adds shard size even if shard is on different filesystem #17460
Labels
>bug
:Distributed/Allocation
All issues relating to the decision making around placing a shard (both master logic & on the nodes)
If the
DiskThresholdDecider
is enabled, it will attempt to see how much diskspace is used after a shard has been allocated to a node (to know whether it
is over the high watermark).
However, in the case that a shard is using a custom data_path setting, the
shard's size may not affect the amount of disk on the node's configured
path.data
.This can lead to weird things like shadow replicas not being relocated within a
cluster because all nodes think they don't have enough space for them, even
though they do because it's a different filesystem entirely.
The text was updated successfully, but these errors were encountered: