-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Resharding redis cluster #4015
Description
Hello everyone.
I'm using your library version 6.4.0.
I want to reshard redis cluster to update the redis version on each node of the cluster.
After transferring slots to neighboring cluster nodes and updating redis on an empty node, I encountered this situation:
cluster client receives response "ASK host:port" and then program execution crashes with an error
await target_node.execute_command("ASKING")
AttributeError: 'NoneType' object has no attribute 'execute_command'
because cluster client no longer knows anything about old node after reinitialization, since there are no slots on old node anymore.
Please tell me how I can reshard without this error, or maybe I should use a newer version of the library, where client will know about node, even if there are no slots on it.