RedisLabs / redis-cluster-proxy

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

ERR Protocol error: invalid bulk length #94

Open jiashurui1997 opened 3 years ago

jiashurui1997 commented 3 years ago

Hello , I'm using the redis-cluster-proxy from master branch .

When I try to set blank value using proxy ,I got this Error↓

127.0.0.1:7777>set a ""
(error) ERR Protocol error: invalid bulk length

127.0.0.1:7777>hset map k ""
(error) ERR Protocol error: invalid bulk length

While typing the same command in Redis cluster mode without proxy ,I got right response.

127.0.0.1:6397>set a ""
>"OK"

Also no error in standard Redis (No cluster)

I'm new to redis-cluster-proxy and I am confusing if there is a limitiation in this command ?

Regards