stickermule / rump

Hot sync two Redis servers using dumps.
MIT License
491 stars 94 forks source link

Rump doesn't copy all keys #19

Closed s4mur4i closed 5 years ago

s4mur4i commented 6 years ago

In a test environment we did a test transfer between two redis cluster, and we found that there was a bigger number of differences between key numbers. Dest node 1625684 Source node 1673187

How can this happen, or how can we mitigate these issues? How can we debug what cases them? Thank you

nixtrace commented 5 years ago

Hi,

Thanks for opening the issue.

This is related to the Redis SCAN command guarantees: https://redis.io/commands/scan#scan-guarantees

Elements that were not constantly present in the collection during a full iteration, may be returned or not: it is undefined