mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 01:01:22 +00:00
PSYNC: work in progress, preview #2, rebased to unstable.
This commit is contained in:
3
src/db.c
3
src/db.c
@ -511,8 +511,7 @@ void propagateExpire(redisDb *db, robj *key) {
|
||||
|
||||
if (server.aof_state != REDIS_AOF_OFF)
|
||||
feedAppendOnlyFile(server.delCommand,db->id,argv,2);
|
||||
if (listLength(server.slaves))
|
||||
replicationFeedSlaves(server.slaves,db->id,argv,2);
|
||||
replicationFeedSlaves(server.slaves,db->id,argv,2);
|
||||
|
||||
decrRefCount(argv[0]);
|
||||
decrRefCount(argv[1]);
|
||||
|
Reference in New Issue
Block a user