mirror of
https://github.com/fluencelabs/redis
synced 2025-05-12 02:37:11 +00:00
Don't replicate/AOF SAVE
This commit is contained in:
parent
889d468e51
commit
b7bf29059e
@ -1009,9 +1009,9 @@ void call(redisClient *c) {
|
||||
duration = ustime()-start;
|
||||
slowlogPushEntryIfNeeded(c->argv,c->argc,duration);
|
||||
|
||||
if (server.appendonly && dirty)
|
||||
if (server.appendonly && dirty > 0)
|
||||
feedAppendOnlyFile(c->cmd,c->db->id,c->argv,c->argc);
|
||||
if ((dirty || c->cmd->flags & REDIS_CMD_FORCE_REPLICATION) &&
|
||||
if ((dirty > 0 || c->cmd->flags & REDIS_CMD_FORCE_REPLICATION) &&
|
||||
listLength(server.slaves))
|
||||
replicationFeedSlaves(server.slaves,c->db->id,c->argv,c->argc);
|
||||
if (listLength(server.monitors))
|
||||
|
Loading…
x
Reference in New Issue
Block a user