OpenSearch/server
David Turner f78e6ef73b Short-circuit rebalancing when disabled (#40942)
Today if `cluster.routing.rebalance.enable: none` then rebalancing is disabled,
but we still execute `balanceByWeights()` and perform some rather expensive
calculations before discovering that we cannot rebalance any shards. In a large
cluster this can make cluster state updates occur rather slowly. With this
change we check earlier whether rebalancing is globally disabled and, if so,
avoid the rebalancing process entirely.
2019-04-08 14:57:29 +01:00
..
licenses Upgrade to Lucene release 8.0.0 (#39998) 2019-03-13 18:11:50 +01:00
src Short-circuit rebalancing when disabled (#40942) 2019-04-08 14:57:29 +01:00
build.gradle Make -try xlint warning disabled by default. (#40833) 2019-04-05 08:02:26 +02:00