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 4e0fd1d commit 3f90889Copy full SHA for 3f90889
server/src/main/java/org/elasticsearch/cluster/routing/WriteLoadPerShardSimulator.java
@@ -41,7 +41,7 @@ public WriteLoadPerShardSimulator(RoutingAllocation routingAllocation) {
41
}
42
43
public void simulateShardStarted(ShardRouting shardRouting) {
44
- float writeLoadForShard = writeLoadsPerShard.get(shardRouting.shardId());
+ final float writeLoadForShard = writeLoadsPerShard.get(shardRouting.shardId());
45
if (writeLoadForShard > 0.0) {
46
if (shardRouting.relocatingNodeId() != null) {
47
// relocating
0 commit comments