antirez/redis — Issue #203: Replication loop
Author: mezzatto
Created: 2011-11-21 20:03:30+00:00
State: open

Redis 2.4.3 Master
Redis 2.2.8 Slave

Infinte loop trying to sync with master:

[18245] 21 Nov 18:01:38 * Connecting to MASTER...
[18245] 21 Nov 18:01:40 * MASTER <-> SLAVE sync started: SYNC sent
[18245] 21 Nov 18:01:43 * MASTER <-> SLAVE sync: receiving 61774440 bytes from master
[18245] 21 Nov 18:01:44 * MASTER <-> SLAVE sync: Loading DB in memory
[18245] 21 Nov 18:01:44 # Can't handle RDB format version 2
[18245] 21 Nov 18:01:44 # Failed trying to load the MASTER synchronization DB from disk

This ended up making both machines (master and slave) using 100% CPU and a lot of network.

Cheers,

Daniel Mezzatto