mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 15:21:03 +00:00
Don't replicate/AOF SAVE
This commit is contained in:
parent
986630afad
commit
6468a6faad
@ -1025,9 +1025,9 @@ void call(redisClient *c) {
|
|||||||
slowlogPushEntryIfNeeded(c->argv,c->argc,duration);
|
slowlogPushEntryIfNeeded(c->argv,c->argc,duration);
|
||||||
c->cmd->calls++;
|
c->cmd->calls++;
|
||||||
|
|
||||||
if (server.appendonly && dirty)
|
if (server.appendonly && dirty > 0)
|
||||||
feedAppendOnlyFile(c->cmd,c->db->id,c->argv,c->argc);
|
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))
|
listLength(server.slaves))
|
||||||
replicationFeedSlaves(server.slaves,c->db->id,c->argv,c->argc);
|
replicationFeedSlaves(server.slaves,c->db->id,c->argv,c->argc);
|
||||||
if (listLength(server.monitors))
|
if (listLength(server.monitors))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user