diff options
author | antirez <antirez@gmail.com> | 2013-11-05 17:23:11 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-11-06 11:13:27 +0100 |
commit | 671c1dfb5629e32f3addfe865e5e5a04f35b007d (patch) | |
tree | df13280d76385bfa621074c6b261c9094f64cf1e /src/db.c | |
parent | ebcb6251e6311622edb7dc1100a9c7cadb8842e8 (diff) | |
download | redis-671c1dfb5629e32f3addfe865e5e5a04f35b007d.tar.gz |
Sentinel: always send CONFIG REWRITE when changing instance role.
This change makes Sentinel less fragile about a number of failure modes.
This commit also fixes a different bug as a side effect, SLAVEOF command
was sent multiple times without incrementing the pending commands count.
Diffstat (limited to 'src/db.c')
-rw-r--r-- | src/db.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -350,7 +350,7 @@ void scanCallback(void *privdata, const dictEntry *de) { if (val) listAddNodeTail(keys, val); } -/* Try to parse a SCAN cursor stored ad object 'o': +/* Try to parse a SCAN cursor stored at object 'o': * if the cursor is valid, store it as unsigned integer into *cursor and * returns REDIS_OK. Otherwise return REDIS_ERR and send an error to the * client. */ |