don't log a versioning conflict failure, even in DEBUG level
This commit is contained in:
parent
b94fab34eb
commit
d29754121c
|
@ -423,8 +423,10 @@ public abstract class TransportShardReplicationOperationAction<Request extends S
|
|||
retry(fromDiscoveryListener, shard.shardId());
|
||||
return;
|
||||
}
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug(shard.shortSummary() + ": Failed to execute [" + request + "]", e);
|
||||
if (!(e instanceof VersionConflictEngineException)) {
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug(shard.shortSummary() + ": Failed to execute [" + request + "]", e);
|
||||
}
|
||||
}
|
||||
listener.onFailure(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue