You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below code in cluster_pool.h is to define less operator for host_t. The class host_t is used as key in a map.
I think the implemetion has a error.
Below two redis host are different address, they should be as different values and can be inserted into a map. But the current implemention will treat them as the same value ,since the port are the same, the less function will return false.
Please have a look at it.
redis1 : address: 192.168.10.10, port: 6379
redis2 : address: 192.168.10.11, prot: 6379
Below code in cluster_pool.h is to define less operator for host_t. The class host_t is used as key in a map.
I think the implemetion has a error.
Below two redis host are different address, they should be as different values and can be inserted into a map. But the current implemention will treat them as the same value ,since the port are the same, the less function will return false.
Please have a look at it.
redis1 : address: 192.168.10.10, port: 6379
redis2 : address: 192.168.10.11, prot: 6379
The text was updated successfully, but these errors were encountered: