redis搭建一主两从三哨兵,报错 Master is currently unabNOMASTERLINK Can‘t SYNC while not connected with my master

redis master和两个slave都是报下面的错误

89277:S 16 Dec 2021 12:49:30.640 * Connecting to MASTER 10.38.150.39:6779
89277:S 16 Dec 2021 12:49:30.640 * MASTER <-> REPLICA sync started
89277:S 16 Dec 2021 12:49:30.640 * Non blocking connect for SYNC fired the event.
89277:S 16 Dec 2021 12:49:30.641 * Master replied to PING, replication can continue...
89277:S 16 Dec 2021 12:49:30.641 * Trying a partial resynchronization (request 258c55a8a9dc9e16b3ab964669018e0efb158292:1647).
89277:S 16 Dec 2021 12:49:30.642 * Master is currently unable to PSYNC but should be in the future: -NOMASTERLINK Can't SYNC while not connected with my master

这个错误主要是sentinel.conf配置错误原因,该配置文件应该为主服务的名字和ip、端口号:
例如:sentinel monitor staffappmaster 10.38.150.37 6579 2

不应该配置slave的ip和端口号

上一篇:公众号使用微信sdk的正确姿势


下一篇:appium微信公众号H5页面自动化测试