Skip to content

Commit 0907e56

Browse files
committed
"shard started" should show index and shard ID (#25157)
When the cluster state is updated with Shard Started entries, it simply adds "shard-started" as the source of the change. This adds the index name and shard ID so that we can see who/what is spamming the changes when the index creation step has already left the cluster state.
1 parent c292fdf commit 0907e56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/elasticsearch/cluster/action/shard/ShardStateAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ private static class ShardStartedTransportHandler implements TransportRequestHan
375375
public void messageReceived(ShardEntry request, TransportChannel channel) throws Exception {
376376
logger.debug("{} received shard started for [{}]", request.shardId, request);
377377
clusterService.submitStateUpdateTask(
378-
"shard-started",
378+
"shard-started " + request,
379379
request,
380380
ClusterStateTaskConfig.build(Priority.URGENT),
381381
shardStartedClusterStateTaskExecutor,

0 commit comments

Comments
 (0)