Log shard ID in TransportReplicationAction
This commit amends a logging statement in TransportReplicationAction to log the full shard ID instead of just the numerical shard ID (without the index name).
This commit is contained in:
parent
6e91d65a99
commit
2a78e02fe9
|
@ -898,7 +898,7 @@ public abstract class TransportReplicationAction<Request extends ReplicationRequ
|
|||
onReplicaFailure(nodeId, exp);
|
||||
} else {
|
||||
String message = String.format(Locale.ROOT, "failed to perform %s on replica on node %s", transportReplicaAction, node);
|
||||
logger.warn("{} {}", exp, shardId, message);
|
||||
logger.warn("[{}] {}", exp, shardId, message);
|
||||
shardStateAction.shardFailed(
|
||||
shard,
|
||||
indexUUID,
|
||||
|
|
Loading…
Reference in New Issue