f232429386
Implemented a much better lazy expiring algorithm for EXPIRE
antirez2009-11-10 17:48:01 +01:00
060f6be6bf
Fixed issue 92 in redis: redis-cli (nil) return value lacks CR/LF
antirez2009-11-10 10:26:09 +01:00
bf75f580c9
Minor TODO change with new expiring algorithm description. New expiring algorithm moved since it'll go in 1.1
antirez2009-11-10 02:02:30 +01:00
eea4baf70d
redis-test is now a better Redis citizen, testing everything against DB 9 and 10 and only if this DBs are empty.
antirez2009-11-04 12:26:57 +01:00
121796f792
fixed a refcounting bug with SORT ... STORE leading to random crashes
root2009-11-04 11:59:27 +01:00
d0ccebcf46
masterauth option merged, thanks to Anthony Lauzon
antirez2009-11-04 09:53:43 +01:00
eaa256ad25
ZSets double to string serialization fixed
antirez2009-11-03 14:36:38 +01:00
d8f8b666f4
now Redis prints DB stats just after the startup without to wait a second for the first report
antirez2009-11-01 14:14:02 +01:00
33ed1a426d
another fix for append only mode, now read-only operations are not appended
antirez2009-11-01 13:43:34 +01:00
1766c6dadc
appendfsync parsing in config file fixed. If you benchmarked Redis against different appendfsync options is time to try again ;)
antirez2009-11-01 11:55:46 +01:00
9387d17dfe
append only file loading fixed
antirez2009-11-01 11:05:50 +01:00
f80dff6212
first version of append only file loading -- STILL BROKEN don't use it
antirez2009-11-01 10:54:55 +01:00
412a8bcea3
Fixed Issue 83:Using TYPE on a zset results in a malformed response from the Redis server
antirez2009-10-31 23:03:10 +01:00
71eba4775d
Fixed compilation on Linux
antirez2009-10-31 14:32:01 +01:00
4e141d5a21
append only mode is now able to translate EXPIRE into EXPIREAT transparently
antirez2009-10-30 17:20:24 +01:00
0154acdc57
appendfsync is now set to NO by default
antirez2009-10-30 16:35:16 +01:00
48f0308ad3
support for appendonly mode no, always, everysec
antirez2009-10-30 13:48:53 +01:00
16f9254761
first fix for append only mode
antirez2009-10-30 01:11:29 +01:00
44b38ef432
Initial implementation of append-only mode. Loading still not implemented.
antirez2009-10-30 01:04:17 +01:00
43e5ccdf57
EXPIRE behaviour changed a bit, a negative TTL or an EXPIREAT with unix time in the past will now delete the key. It seems saner to me than doing nothing.
antirez2009-10-30 00:21:04 +01:00
802e837373
EXPIREAT implemented, will be useful for the append-only mode
antirez2009-10-30 00:15:45 +01:00
fa4c0aba85
Fixed Issue 74 (ERR just returned on invalid password), now the error message is -ERR invalid password.
antirez2009-10-29 11:43:40 +01:00
50c55df529
ZRANGEBYSCORE implemented. Redis got range queries!
antirez2009-10-26 23:02:56 +01:00
9d60e6e466
A trivial change makes the new implementation O(log(N)) instead of O(log(N))+O(M) when there are M repeated scores!
antirez2009-10-26 20:47:23 +01:00
2b59cfdfe9
ZSET now saved on disk like any other type
antirez2009-10-26 18:47:12 +01:00
2161a96527
ZSETs random fixes. Now the implementation appears to be pretty stable
antirez2009-10-26 17:57:24 +01:00
ad807e6fa3
another leak fixed. Can't find more for now, but still a bug in ZSETs to fix
antirez2009-10-26 17:33:31 +01:00
599379ddda
ZSETs memory leak #1 solved, another one missing
antirez2009-10-26 17:02:05 +01:00
bb975144e4
Fix for skiplists backward link
antirez2009-10-26 16:43:56 +01:00
325d1eb4a8
Merged Solaris patches provided by Alan Harder
antirez2009-10-26 16:25:07 +01:00
e3870fab57
backward support to skiplists for ZREVRANGE, still broken, committing since I've to merge the Solaris patches
antirez2009-10-26 16:14:49 +01:00
f4d4c47f66
fix for ZADD in score update mode
antirez2009-10-24 01:31:29 +02:00
e197b441a2
some work on ZADD against existing element (score update), still broken...
antirez2009-10-24 01:27:18 +02:00
0aad7a1938
zrange now starts to work. zadd still does not support update and will crash or leak or b000mmmmm
antirez2009-10-23 22:39:25 +02:00
cc81236105
zrange initial hack (not working for now)
antirez2009-10-23 22:32:29 +02:00
913e9d6bca
first skiplist fix, courtesy of valgrind
antirez2009-10-23 22:16:50 +02:00
ace4ee541a
zset symbols added to stack trace code. ZSets will simply crash at the moment
antirez2009-10-23 21:43:09 +02:00
fd8ccf4419
more work on ZSETs and a new make target called 32bit to build i386 binaries on mac os x leopard
antirez2009-10-23 21:24:01 +02:00
6b47e12ef8
initial skiplist implementation. Most memory checks removed and zmalloc() modified to fail with an error message and abort. Anyway Redis is not designed to recover from out of memory conditions.
antirez2009-10-23 20:33:25 +02:00
cb7e07cc63
Fixed compilation in mac os x snow leopard when compiling a 32 bit binary.
antirez2009-10-23 01:36:10 +02:00
1812e0246c
version incremented to 1.050 to distinguish from 1.001 stable and next stable versions with minor fixes
antirez2009-10-22 16:15:26 +02:00
f69f2cbafe
Imporant bug leading to data corruption fixed (NOT affecting stable distribution), Tcl client lib MSET/MSETNX implementation fixed, Added new tests for MSET and MSETNX in test-redis.tcl
antirez2009-10-20 11:39:20 +02:00
8165a5f2a3
added multi-bulk protocol support to redis-cli and support for MSET and MSETNX
antirez2009-10-17 22:17:53 +02:00
2ed22c8b29
MSET fixed, was not able to replace keys already set for a stupid bug
antirez2009-10-17 22:02:59 +02:00
638e42aca4
multi bulk input protocol fixed
antirez2009-10-16 23:36:33 +02:00
f6b141c57d
MSET and MSETNX commands implemented
antirez2009-10-16 13:44:25 +02:00
f1017b3fb3
undoed all the sds hacking that lead just to random bugs and no memory saving ;)
antirez2009-10-07 17:34:00 +02:00
e8a74421bb
initial multi-bulk query protocol, this will allow MSET and other interesting features.
antirez2009-10-07 13:30:15 +02:00
c32514972c
benchmark now outputs the right command line to shorten the TIME_WAIT interval on Mac OS X when keep alive is set
antirez2009-10-03 10:54:27 +02:00
0ea663ea01
Issue 69 fixed. Object integer encoding now works with replication and MONITORing again.
antirez2009-10-02 10:23:25 +02:00
724a51b1a9
LREM fixed, used to crash since the new object integer encoding is on the stage
antirez2009-09-18 20:31:47 +02:00
d446590041
maxmemory didn't worked in 64 systems for values > 4GB since it used to be an unsigned int. Fixed
antirez2009-09-17 17:23:59 +02:00
244de507b3
incremented version number to 1.001, AKA Redis edge is no longer stable...
antirez2009-09-10 17:46:21 +02:00
942a39618b
in-memory specialized object encoding (for now 32 signed integers only)
antirez2009-09-10 17:45:30 +02:00
557a74e563
Latest doc changes for 1.0
antirez2009-09-03 10:42:47 +02:00
21aecf4bab
now the size of the shared pool can be really modified via config, also the number of objects in the sharing pool is logged when the log level is set to debug. Thanks to Aman Gupta
antirez2009-07-17 11:56:56 +02:00
8034b0f9e0
added utils/redis-copy.rb, a script that is able to copy data from one Redis server to another one on the fly.
antirez2009-07-05 12:56:59 +02:00
b91cf5ef2b
Applied three different patches thanks to Chris Lamb, one to fix compilation and get the IP register value on Linux IA64 and other systems. One in order to log the overcommit problem on the logs instead of the standard output when Redis is demonized. The latest in order to suggest a more consistent way in order to switch to 1 the memory overcommit Linux feature.
antirez2009-07-04 15:43:57 +02:00
774230260f
bugfix: EXPIRE now propagates to the Slave.
antirez2009-07-03 19:57:26 +02:00
f0dec43b53
Redis version modified to 0.900
antirez2009-06-16 17:33:58 +02:00