Slackbot
06/30/2023, 3:16 AMAmatya Avadhanula
06/30/2023, 3:30 AMrandom doesn't balance segments.
Is there a reason you are using that strategy?
If you are on the latest version of Druid, please use the strategy cost with round robin segment assignment enabled in the coordinator dynamic configuration for fast loading + optimal balancingJiaojiao Fu
06/30/2023, 8:25 AMJiaojiao Fu
06/30/2023, 9:09 AMAmatya Avadhanula
06/30/2023, 9:27 AMAmatya Avadhanula
06/30/2023, 9:30 AMcachingCost?
If your segments in the server do not have mixed granularities and you also limit the max segments in node loading queue (100 may be a good value), this strategy is pretty fast.
Please note that cachingCost is no longer recommended and is actually being deprecated. (but you could use it for faster decommissioning and see if it helps with your cluster's segments)Jiaojiao Fu
07/01/2023, 12:28 PMAmatya Avadhanula
07/01/2023, 5:23 PMsegment/underreplicated/count (https://druid.apache.org/docs/0.17.1/operations/metrics.html#coordination) which should be zero before decommissioning a historical