Don't propagate SAVE.
This is a general fix (check that dirty delta is positive) but actually should have as the only effect fixing the SAVE propagation to AOF and slaves.
This commit is contained in:
parent
b82d650afa
commit
046a00a03d
@ -2006,6 +2006,7 @@ void call(redisClient *c, int flags) {
|
|||||||
c->cmd->proc(c);
|
c->cmd->proc(c);
|
||||||
duration = ustime()-start;
|
duration = ustime()-start;
|
||||||
dirty = server.dirty-dirty;
|
dirty = server.dirty-dirty;
|
||||||
|
if (dirty < 0) dirty = 0;
|
||||||
|
|
||||||
/* When EVAL is called loading the AOF we don't want commands called
|
/* When EVAL is called loading the AOF we don't want commands called
|
||||||
* from Lua to go into the slowlog or to populate statistics. */
|
* from Lua to go into the slowlog or to populate statistics. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user