If I redis-cli into the master node and flushall, the next command will failed with a MovedError. This is caught in client.py at line 680. When this happens, it will take the response on the move error and set that as the new master without remapping it with the host_port_remap. This causes a timeout when connecting if you are using tunnelling and have a different host/port than what the server responds with.
My host port remap config is as follows:
If I
redis-cli
into the master node andflushall
, the next command will failed with aMovedError
. This is caught inclient.py
at line680
. When this happens, it will take the response on the move error and set that as the new master without remapping it with thehost_port_remap
. This causes a timeout when connecting if you are using tunnelling and have a different host/port than what the server responds with.