尝试从 redis 云中的同一版本主服务器同步时出现以下错误:
# Server started, Redis version 2.8.12
* The server is now ready to accept connections on port 6379
* Connecting to MASTER pub-redis-99999.us-east-1-3.1.ec2.garantiadata.com:99999
* MASTER <-> SLAVE sync started
* Non blocking connect for SYNC fired the event.
* Master replied to PING, replication can continue...
* (Non critical) Master does not understand REPLCONF listening-port: -ERR wrong number of arguments for 'REPLCONF' command
* Partial resynchronization not possible (no cached master)
* Master does not support PSYNC or is in error state (reply: -ERR wrong number of arguments for 'PSYNC' command)
* Retrying with SYNC...
# MASTER aborted replication with an error: ERR unauthenticated session
Run Code Online (Sandbox Code Playgroud)
我已经明确提供了正确的 masterauth 密码,因此它必须是其他密码。有人见过这个吗?
所以这是由 Redis Labs 阻止其他命令之间的同步引起的。有关详细信息,请参阅https://redislabs.com/company/faqs#are-you-fully-compatible-with-open-source-redis。
归档时间: |
|
查看次数: |
2256 次 |
最近记录: |