Skip to content

Commit 207dd0d

Browse files
nicktindallywangd
andauthored
Update server/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/UndesiredAllocationsTracker.java
Co-authored-by: Yang Wang <[email protected]>
1 parent f797014 commit 207dd0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/UndesiredAllocationsTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private void logUndesiredShardDetails(
170170
logger.warn("Shard {} has been in an undesired allocation for {}", shardRouting.shardId(), undesiredDuration);
171171
for (final var nodeId : assignment.nodeIds()) {
172172
final var decision = allocation.deciders().canAllocate(shardRouting, routingNodes.node(nodeId), allocation);
173-
logger.warn("Shard {} cannot be allocated on node [{}]: {}", shardRouting.shardId(), nodeId, decision);
173+
logger.warn("Shard {} allocation decision for node [{}]: {}", shardRouting.shardId(), nodeId, decision);
174174
}
175175
} finally {
176176
allocation.setDebugMode(originalDebugMode);

0 commit comments

Comments
 (0)