尝试从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
我已经明确提供了正确的masterauth密码,所以它一定是别的。 任何人见过这个?
所以这是Redis Labs阻止其他命令同步的原因。 有关详细信息,请参阅https://redislabs.com/company/faqs#are-you-fully-compatible-with-open-source-redis 。