]> 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 15:14:45 +0000 (17:14 +0200)
commit0b08d64882e453b04f23c184c047dce1de65845b
tree83298a52c5f7ee8047c0334577613a52b1d62a09
parent96d9c6cb8be9fc3b4a9fab0cb281418a3deb0533
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