We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 287f350 commit 520608fCopy full SHA for 520608f
server/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/ClusterBalanceStats.java
@@ -233,7 +233,6 @@ private static NodeBalanceStats createFrom(
233
for (ShardRouting shardRouting : routingNode) {
234
var indexMetadata = metadata.indexMetadata(shardRouting.index());
235
var shardSize = clusterInfo.getShardSize(shardRouting, 0L);
236
- assert indexMetadata != null;
237
forecastWriteLoad += writeLoadForecaster.getForecastedWriteLoad(indexMetadata).orElse(0.0);
238
forecastShardSize += indexMetadata.getForecastedShardSizeInBytes().orElse(shardSize);
239
actualShardSize += shardSize;
0 commit comments