From 10071f4aaa9d08db1ec1159a972dff1909f0c37e Mon Sep 17 00:00:00 2001 From: Matiszak Date: Wed, 16 Aug 2023 10:17:06 +0000 Subject: [PATCH] Do not send tracers when running second iteration of cluster nodes discovery (#2520) Sending tracers is not necessary because we just connected to the nodes a few seconds ago. It causes problems because sent tracers do not have enough time to respond. --- src/StackExchange.Redis/ConnectionMultiplexer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StackExchange.Redis/ConnectionMultiplexer.cs b/src/StackExchange.Redis/ConnectionMultiplexer.cs index 88c6c37c2..098d158f0 100644 --- a/src/StackExchange.Redis/ConnectionMultiplexer.cs +++ b/src/StackExchange.Redis/ConnectionMultiplexer.cs @@ -1478,7 +1478,7 @@ internal async Task ReconfigureAsync(bool first, bool reconfigureAll, LogP servers[i] = server; // This awaits either the endpoint's initial connection, or a tracer if we're already connected - // (which is the reconfigure case) + // (which is the reconfigure case) available[i] = server.OnConnectedAsync(log, sendTracerIfConnected: true, autoConfigureIfConnected: reconfigureAll); }