fix logging to actually pass the actual logging parameters
This commit is contained in:
parent
6915b39dc3
commit
07480846c3
|
@ -243,7 +243,7 @@ public class IndicesClusterStateService extends AbstractLifecycleComponent<Indic
|
|||
|
||||
if (!indexService.hasShard(shardId) && shardRouting.started()) {
|
||||
// the master thinks we are started, but we don't have this shard at all, mark it as failed
|
||||
logger.warn("[{}][{}] master [{}] marked shard as started, but shard have not been created, mark shard as failed");
|
||||
logger.warn("[{}][{}] master [{}] marked shard as started, but shard have not been created, mark shard as failed", shardRouting.index(), shardId, nodes.masterNode());
|
||||
shardStateAction.shardFailed(shardRouting, "master " + nodes.masterNode() + " marked shard as started, but shard have not been created, mark shard as failed");
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue