Skip to content

Commit 0aff805

Browse files
committed
Duplicate log entry in TransportReplicationAction
This commit removes a logging statement from TransportReplicationAction that occurs when handling a catastrophic non-channel failure while failing a shard. The same information is also logged from ShardStateAction when the master responds to the shard failure request there.
1 parent e751dbb commit 0aff805

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

core/src/main/java/org/elasticsearch/action/support/replication/TransportReplicationAction.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,6 @@ public void onSuccess() {
954954

955955
@Override
956956
public void onFailure(Throwable shardFailedError) {
957-
logger.error("[{}] catastrophic error while failing replica shard [{}] for [{}]", shardFailedError, shardId, shard, exp);
958957
if (shardFailedError instanceof ShardStateAction.NoLongerPrimaryShardException) {
959958
// we are no longer the primary, fail ourselves and start over
960959
ShardRouting primaryShard = indexShardReference.routingEntry();

0 commit comments

Comments
 (0)