]> git.saurik.com Git - redis.git/commit
Better system for additional commands replication.
authorantirez <antirez@gmail.com>
Tue, 28 Feb 2012 23:46:50 +0000 (00:46 +0100)
committerantirez <antirez@gmail.com>
Tue, 28 Feb 2012 23:46:50 +0000 (00:46 +0100)
commit78d6a22dc3e570417a8b8774307059b8d5ad476b
tree5c4d32c586ec1385c5e86b087c5b18eace408245
parenteeb34eff52eb77ff387ea7b316b157aa4337bb7f
Better system for additional commands replication.

The new code uses a more generic data structure to describe redis operations.
The new design allows for multiple alsoPropagate() calls within the scope of a
single command, that is useful in different contexts. For instance there
when there are multiple clients doing BRPOPLPUSH against the same list,
and a variadic LPUSH is performed against this list, the blocked clients
will both be served, and we should correctly replicate multiple LPUSH
commands after the replication of the current command.
src/redis.c
src/redis.h