Open idning opened 10 years ago
the test case is here: https://github.com/idning/test-twemproxy/blob/master/tests/test_del.py#L59-L69
@idning is this still an issue?
@manjuraj when we want to do a multi-del on many keys, and one of the redis-servers is READONLY.
some of the keys will be deleted success. but what we return to client is "Invalid argument", this is not good.
I think return READONLY is somehow better. so this is still a problem we need to solve.
if one of the redis server is read only slave:
del key1
will got Err:del key1 key2 key3
will got Err:here is the test case:
here is the code make this different:
https://github.com/twitter/twemproxy/blob/master/src/proto/nc_redis.c#L2063-L2074