mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 19:51:22 +00:00
support for write operations against expiring keys, by master-controlled expiring in replication and AOF synthesizing DEL operations
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user