I am using redis replication scheme for a long time, but the same thing with keydb seems to be very weird. Documentation states that replica is initially set up only with replicaof clause, exactly as in redis, but the replica set up like this just seems to be malfunctional:
Okay, different number of keys could be explained by the time lag to switch between the consoles, but then db13 on the replica has some spare keys, atm there’s only one, but sometimes I get several thousands that seem to live for hours ! And the replication diff is like megabytes, which doesn’t happen in redis at all.
What am I doing wrong ?
127.0.0.1:6379> config get replicaof
- “10.100.34.2 6379”
127.0.0.1:6379> config get slave-read-only
Furthermore - I don’t see the errors in the replica logs.