原文:redis.clients.jedis.exceptions.JedisException: Can connect to sentinel, but seems to be not monitored.

在使用Redis的哨兵Sentinel配置時,報錯如下: redis.clients.jedis.exceptions.JedisException: Can connect to sentinel, but myMaster seems to be not monitored. 報錯原因: 可能是因為哨兵配置sentinel.conf中的服務器名稱,和程序中哨兵連接池配置的服務器名稱不一致導致的 ...

2018-11-12 10:48 0 2668 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM