]> git.saurik.com Git - redis.git/commit
Use specific error if master is down and slave-serve-stale-data is set to no.
authorantirez <antirez@gmail.com>
Wed, 2 May 2012 15:14:45 +0000 (17:14 +0200)
committerantirez <antirez@gmail.com>
Wed, 2 May 2012 18:57:55 +0000 (20:57 +0200)
commitae62d29d1db7a174db4e519fa975b7df6f369d4d
tree2c94008354a7cf8927b9eb9524db45e208f29c46
parent92997d06ea3bd6b24414db0ca51987f48b1a87b8
Use specific error if master is down and slave-serve-stale-data is set to no.

We used to reply -ERR ... message ..., now the reply is
instead -MASTERDOWN ... message ... so that it can be distinguished
easily by the other error conditions.
src/redis.c
src/redis.h