mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
2495b90a64
When the redis server cluster running on cluster-preferred-endpoint-type unknown-endpoint mode, and receive a request that should be redirected to another redis server node, it does not reply the hostip, but a empty host like MOVED 3999 :6381. The redis-cli would try to connect to an address without a host, which cause the issue: ``` 127.0.0.1:7002> set bar bar -> Redirected to slot [5061] located at :7000 Could not connect to Redis at :7000: No address associated with hostname Could not connect to Redis at :7000: No address associated with hostname not connected> exit ``` In this case, the redis-cli should use the previous hostip when there's no host provided by the server. --------- Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Co-authored-by: Madelyn Olson <madelynolson@gmail.com> |
||
---|---|---|
.. | ||
announced-endpoints.tcl | ||
cli.tcl | ||
cluster-response-tls.tcl | ||
hostnames.tcl | ||
human-announced-nodename.tcl | ||
links.tcl | ||
misc.tcl | ||
multi-slot-operations.tcl | ||
scripting.tcl | ||
slot-ownership.tcl |