refactoring

pull/6373/head
Nikita Koksharov 1 month ago
parent 8e325a95f4
commit 0401642f15

@ -665,7 +665,7 @@ public class RedisExecutor<V, R> {
FailedNodeDetector detector = client.getConfig().getFailedNodeDetector(); FailedNodeDetector detector = client.getConfig().getFailedNodeDetector();
detector.onCommandFailed(cause); detector.onCommandFailed(cause);
if (detector.isNodeFailed()) { if (detector.isNodeFailed()) {
log.error("Redis node {} has been marked as failed as failed according to the detection logic defined in {}", log.error("Redis node {} has been marked as failed according to the detection logic defined in {}",
entry.getClient().getAddr(), detector); entry.getClient().getAddr(), detector);
entry.shutdownAndReconnectAsync(client, cause); entry.shutdownAndReconnectAsync(client, cause);
} }

Loading…
Cancel
Save