- 01 May, 2012 1 commit
-
-
Pieter Noordhuis authored
Every matched key in a KEYS call is checked for expiration. When the key is set to expire, the call to `getExpire` will assert that the key also exists in the main dictionary. This in turn causes a rehashing step to be executed. Rehashing a dictionary when there is an iterator active may result in the iterator emitting duplicate entries, or not emitting some entries at all. By using a safe iterator, the rehash step is omitted.
-
- 02 Feb, 2012 1 commit
-
-
antirez authored
-
- 17 Oct, 2011 2 commits
- 10 Oct, 2011 1 commit
-
-
antirez authored
-
- 12 Jul, 2011 3 commits
-
-
antirez authored
don't process EXPIRE with negative TTL or EXPIREAT with time in the past if we are a slave too (see http://groups.google.com/group/redis-db/browse_thread/thread/5a931fefb88b16d5). Also propagate it as DEL.
-
antirez authored
dataspace change hook functions backported to 2.4. They are just wrappers at this point but this makes simpler to cherry-pick between branches.
-
Hampus Wessman authored
They will be expired (and a DEL will be logged) after the loading is done instead.
-
- 14 Jun, 2011 1 commit
-
-
antirez authored
-
- 10 Jun, 2011 1 commit
-
-
antirez authored
-
- 14 Jan, 2011 1 commit
-
-
antirez authored
-
- 03 Nov, 2010 1 commit
-
-
antirez authored
-
- 02 Nov, 2010 1 commit
-
-
antirez authored
Do not update the LRU info on key lookup when we have a saving child. With this trivial change the additional memory used while saving with a background child in presence of many read operations is zero.
-
- 15 Oct, 2010 2 commits
-
-
antirez authored
-
antirez authored
Don't increment dirty on expireIfNeeded() as natural expires are not considered database changes. This will avoid useless read-only commands in the AOF file as a result of, for instance, a GET operation triggering an expirIfNeeded() call resulting in an expired key removed.
-
- 14 Oct, 2010 1 commit
-
-
antirez authored
Object approximated LRU algorithm enhanced / fixed / refactored. This is used for the VM currently but will soon be used for maxmemory expiring.
-
- 07 Oct, 2010 1 commit
-
-
antirez authored
fixed an alignment problem with time_t is 32 bit, long is 64 bit, and arch is sparc or any other where unaligned accesses will result to sigbus
-
- 08 Sep, 2010 3 commits
-
-
antirez authored
Fix re-enabled again, I forgot to check if VM was enabled before calling handleClientsBlockedOnSwappedKey()
-
antirez authored
-
antirez authored
Fixed a race condition in VM happening when a key was deleted while there was a client waiting for this key to be resumed from swap to memory. The client would hang forever.
-
- 02 Sep, 2010 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 30 Aug, 2010 2 commits
-
-
Pieter Noordhuis authored
-
antirez authored
-
- 23 Aug, 2010 1 commit
-
-
antirez authored
Fixed overflow detection in argument to long convertion function in general, and in expire/ttl pairs specifically, addressing issue 54
-
- 03 Aug, 2010 3 commits
- 02 Aug, 2010 2 commits
- 12 Jul, 2010 1 commit
-
-
antirez authored
-
- 05 Jul, 2010 1 commit
-
-
antirez authored
WATCH will now consider touched keys target of EXPIRE command after the WATCH is performed, but not before
-
- 01 Jul, 2010 1 commit
-
-
antirez authored
networking related stuff moved into networking.c moved more code more work on layout of source code SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;) cleanly compiling again after the first split, now splitting it in more C files moving more things around... work in progress split replication code splitting more Sets split Hash split replication split even more splitting more splitting minor change
-