Skip to content

Commit c5f2696

Browse files
authored
Fix 2951 - Sentinel reconnect failure (#2956)
* Fix erroneous deletion from b4aaced#diff-b874d835cf9aa762b0e52adf8c37c2ed87b244f10dd36749ffdf735f0aea0e53L1645 * release notes * Update ReleaseNotes.md
1 parent fec2cae commit c5f2696

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/ReleaseNotes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Current package versions:
88

99
## Unreleased
1010

11-
- (none)
11+
- Fix [#2951](https://github.com/StackExchange/StackExchange.Redis/issues/2951) - sentinel reconnection failure ([#2956 by mgravell](https://github.com/StackExchange/StackExchange.Redis/pull/2956))
1212

1313
## 2.9.17
1414

src/StackExchange.Redis/ConnectionMultiplexer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,7 @@ internal async Task<bool> ReconfigureAsync(bool first, bool reconfigureAll, ILog
16491649
if (primary == preferred || primary.IsReplica)
16501650
{
16511651
log?.LogInformationClearingAsRedundantPrimary(new(primary));
1652+
primary.ClearUnselectable(UnselectableFlags.RedundantPrimary);
16521653
}
16531654
else
16541655
{

0 commit comments

Comments
 (0)