Describe the bug
(error) ASKING 12345 1.2.3.4:6380
To reproduce
- Build a Redis cluster and make it run stably for a period of time to ensure that data is distributed to different hash slots.
- Use Redis's FUSTER SETSLOT command to manually trigger the migration process of a hash slot. For example, migrating hash slot 12345 from one node to another. 3.During the migration process, try using a Redis client that does not support cluster redirection to access the key on the hash slot being migrated.
Expected behavior
In the Redis cluster, when the hash slot is being migrated, the client should be able to handle ASKING redirection correctly, automatically connect to the target node, and re execute the command.