support for write operations against expiring keys, by master-controlled expiring in replication and AOF synthesizing DEL operations

This commit is contained in:
antirez
2010-08-02 18:13:39 +02:00
parent 0c7a9dec65
commit bcf2995c98
4 changed files with 86 additions and 49 deletions

View File

@ -17,7 +17,6 @@ void setGenericCommand(redisClient *c, int nx, robj *key, robj *val, robj *expir
}
}
if (nx) deleteIfVolatile(c->db,key);
retval = dbAdd(c->db,key,val);
if (retval == REDIS_ERR) {
if (!nx) {