diff --git a/docs/ReleaseNotes.md b/docs/ReleaseNotes.md index 893ec2de0..185a679f4 100644 --- a/docs/ReleaseNotes.md +++ b/docs/ReleaseNotes.md @@ -8,7 +8,7 @@ Current package versions: ## Unreleased -- (none) +- Fix [#2951](https://github.com/StackExchange/StackExchange.Redis/issues/2951) - sentinel reconnection failure ([#2956 by mgravell](https://github.com/StackExchange/StackExchange.Redis/pull/2956)) ## 2.9.17 diff --git a/src/StackExchange.Redis/ConnectionMultiplexer.cs b/src/StackExchange.Redis/ConnectionMultiplexer.cs index bf6b66674..4b06baf27 100644 --- a/src/StackExchange.Redis/ConnectionMultiplexer.cs +++ b/src/StackExchange.Redis/ConnectionMultiplexer.cs @@ -1649,6 +1649,7 @@ internal async Task ReconfigureAsync(bool first, bool reconfigureAll, ILog if (primary == preferred || primary.IsReplica) { log?.LogInformationClearingAsRedundantPrimary(new(primary)); + primary.ClearUnselectable(UnselectableFlags.RedundantPrimary); } else {