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和端口号

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐