RedisLabs / redis-cluster-proxy

A proxy for Redis clusters.
GNU Affero General Public License v3.0
990 stars 129 forks source link

Bug of the private cluster connection #55

Closed huxiaozhe closed 4 years ago

huxiaozhe commented 4 years ago

connection-pool-size 1 port 8888 When i don't use private connection

image

First is slave, second is Ordinary connection, third is private connect pool,last is local connect.

when i process 127.0.0.1:8888> multi OK 127.0.0.1:8888> set b 1 QUEUED 127.0.0.1:8888> exec 1 OK client list image and process it again image During this time, the connection to the proxy is not broken.

I found in function disableMultiplexingForClient() No conditions to determine whether the current connection is a private connection