PSYNC: work in progress, preview #2, rebased to unstable.

This commit is contained in:
antirez
2013-01-30 18:33:16 +01:00
parent e34a35a511
commit 078882025e
8 changed files with 756 additions and 71 deletions

View File

@ -108,8 +108,7 @@ void execCommandReplicateMulti(redisClient *c) {
if (server.aof_state != REDIS_AOF_OFF)
feedAppendOnlyFile(server.multiCommand,c->db->id,&multistring,1);
if (listLength(server.slaves))
replicationFeedSlaves(server.slaves,c->db->id,&multistring,1);
replicationFeedSlaves(server.slaves,c->db->id,&multistring,1);
decrRefCount(multistring);
}