Hey there!
Current architecture: Redis version: 3.2.9 3 master nodes with 2 slaves.
I was trying to set up a new cluster(redis_version:5.0.6) using rdb files from all the master nodes (Basically ran bgsave on all existing master nodes).
While restoring the keys, I ran into a problem, where I got an error,( One or more duplicate keys detected while restoring from snapshot files. Duplicate Key Name: abcded). Due to this error cluster creation is getting failed.
I manually checked the rdb files using rdb-tools and found the same key was present in two master nodes.
Is there any way I can delete the duplicate keys from master? Redis client is re-directing to the actual slot.
Appreciate your help!
Thanks!
Comment From: itamarhaber
Hello @rahulsubramani18
Please describe the steps you're taking when "restoring the keys". I'm unaware of Redis generating the error message you've quoted.
That said, it is weird that the same key exists in multiple masters of the original cluster.