[QUESTION] Redis primary node becomes a replica automatically after all slots have been migrated
tharunsikhinam opened this issue · comments
Hi,
I am doing a live resharding on my redis cluster. I have 5 shards and 0 replicas. I am resharding from 5 nodes to 3.
Once I finish moving all slots from node 4 to node 2 say. Node 4 automatically becomes the replica of node 2 after the last slot has been migrated from node 4. Is this expected? Is there a way to stop this?
I am expecting after the all slots have been migrated, the node without slots is an empty primary.
I am using redis version 7.0.5 and this behavior appears to be consistent.
Please let me know if more details needs to be shared. thank you