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

This commit is contained in:
antirez
2013-02-12 12:57:40 +01:00
parent 4d8655cfd3
commit 700e5eb4fc
8 changed files with 756 additions and 71 deletions
+1 -2
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);
}