Repository navigation
初始化sentinel的异常捕捉到之后,没有抛出,这样在使用redisclient的时候,提示的异常与实际的异常不同。 #113
syxdevcode
started this conversation in
Ideas
Replies: 4 comments 3 replies
|
throw new RedisClientException( 谢谢反馈,补齐了 |
0 replies
|
提交 dc91206
|
0 replies
|
@2881099 foreach (var sentinel in sentinelcli.Sentinels(_connectionString.Host))
{
var remoteSentinelHost = $"{sentinel.ip}:{sentinel.port}";
if (_sentinels.Contains(remoteSentinelHost)) continue;
_sentinels.AddLast(remoteSentinelHost);
} |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
场景:哨兵节点设置了访问密码,但是初始化的时候,没有指定
password=,在初始化的时候,捕捉到的异常是:
FreeRedis.RedisServerException:“NOAUTH Authentication required.”在使用redisclient 方法的时候,却提示:
【mymaster】Redis Sentinel is switching源代码:SentinelAdapter.cs类,ResetSentinel方法:
All reactions