1750 Commits

Author SHA1 Message Date
antirez
09bd58958c useless function removed 2011-03-08 15:10:20 +01:00
antirez
a89f187009 comment typo fixed 2011-03-08 15:03:51 +01:00
Pieter Noordhuis
e534a4c268 Rename zset range functions 2011-03-08 10:57:53 +01:00
Pieter Noordhuis
f68fbab536 Test for ranges where min > max 2011-03-08 10:57:39 +01:00
Pieter Noordhuis
e8521a02bc Compiler should decide on inlining 2011-03-08 10:57:33 +01:00
Pieter Noordhuis
acb51177dc Move logic concerned with zset ranges
This also optimizes ZREVRANGEBYSCORE for pathological cases where a
sorted set contains many elements with the same score. Previously,
it would traverse the list from back to front in such a case.
2011-03-08 10:57:24 +01:00
Pieter Noordhuis
de3fda38b6 Undo rename of function names where something went wrong 2011-03-08 10:57:06 +01:00
antirez
2e325cfa18 Merge remote branch 'pietern/unstable-sigs' into unstable 2011-03-07 12:22:00 +01:00
Pieter Noordhuis
a98b288aac Show database number in cli prompt when non-zero 2011-03-06 21:14:40 +01:00
Pieter Noordhuis
8c86583a31 Store SELECTed database for reconnect (issue #468) 2011-03-06 20:46:49 +01:00
Pieter Noordhuis
b31d5e7305 Minor memory leak in redis-cli (issue #464) 2011-03-06 20:13:01 +01:00
Pieter Noordhuis
cd998263fd Only save history when stdin is a tty (issue #465) 2011-03-06 20:02:33 +01:00
Pieter Noordhuis
b1360a13ca Save RDB on SIGTERM (see issue #471) 2011-03-06 17:49:40 +01:00
antirez
a0ffb6f5cc possible fix for a failed assertion introduced with the latest diskstore speedup fix 2011-03-04 18:10:43 +01:00
antirez
338d6cb3ea Fixed return value of GETRANGE / SUBSTR 2011-03-04 16:22:50 +01:00
antirez
a1907821b9 AOF file descriptor leak fixed 2011-03-04 16:13:54 +01:00
antirez
cf8ab35834 TTL command fixed to work reliably with diskstore 2011-03-04 15:49:01 +01:00
antirez
79fb74aee0 debugging message moved from REDIS_WARING to REDIS_DEBUG 2011-03-04 15:45:38 +01:00
antirez
18a18a1875 Redis manifesto added 2011-03-01 15:20:35 +01:00
antirez
844510446a fix type in rdbSaveKeyValuePair() when saving an intset. Don't merge this commit into 2.2 as will not apply cleanly. 2011-02-28 17:55:05 +01:00
antirez
547eead3ee direct saving of specially encoded types implemented for lists and sets too 2011-02-28 17:53:47 +01:00
antirez
eea47938d3 define name typo fixed 2011-02-28 17:36:12 +01:00
antirez
6bd24302f8 added new RDB codes for ziplist encoded lists and intset encodeed sets 2011-02-28 17:06:31 +01:00
antirez
7efbda2d64 save ziplist encoded type as a different type id. Done as separated commit since this is the part that will not merge cleanly in 2.2 2011-02-28 17:06:09 +01:00
antirez
5fdf5c6b45 convert the zipmap into hash in rdb loading if the zipmap has too many elements 2011-02-28 16:55:34 +01:00
antirez
860f333002 RDB/AOF loading times logged with millisecond precision 2011-02-28 15:31:54 +01:00
antirez
60a9b0f615 fix for zipmap raw saving in unstable branch 2011-02-28 15:13:49 +01:00
antirez
67bed5274d encoded types API to get blob length 2011-02-28 14:48:49 +01:00
antirez
102474012d save zipmap encoded hashes as blobs. Work in progress. 2011-02-28 09:56:48 +01:00
antirez
e422aa37cd less delays in diskstore when there are many writes. more work to do. 2011-02-25 19:11:25 +01:00
antirez
2113acac84 more disk store fields in INFO 2011-02-25 10:59:57 +01:00
Pieter Noordhuis
90054003dc Restore argc/argv in EXEC after command is executed 2011-02-23 14:37:22 +01:00
antirez
dd504e71b0 fixed client-libraries/README to reflect the new site path instead of google code 2011-02-22 18:22:16 +01:00
antirez
b76384a393 linenoise updated 2011-02-22 17:46:11 +01:00
antirez
21efce77ff fixed color support for test suite. Now colors are shown as long as there is xterm somewhere inside the TERM env var 2011-02-22 16:41:27 +01:00
Paul Gideon Dann
057e633609 Allow port to be 0 in configuration, in order to allow disabling of TCP. 2011-02-22 12:13:29 +01:00
antirez
9261880e78 conflict resolved in cherry pick 2011-02-22 00:03:03 +01:00
antirez
226157c42c suppress a Linux warning, for 2.2 sake 2011-02-21 17:51:52 +01:00
antirez
d6195c4344 check return value of getcwd() 2011-02-21 17:51:28 +01:00
antirez
8b011f5400 CONFIG SET/GET for all the special encoding parameters of sets, lists, hashes 2011-02-17 12:20:59 +01:00
antirez
efaf6a9be0 SPOP replication/AOF patch ported to unstable branch 2011-02-16 12:41:40 +01:00
antirez
fbfc62f406 CONFIG GET/SET dir implemented 2011-02-14 02:51:27 +01:00
antirez
fd16bf40d9 fixed two diskstore issues, a quasi-deadlock creating problems with I/O speed and a race condition among threads 2011-02-11 11:16:15 +01:00
antirez
eb9dfd27aa introduced a new logging function for big messages 2011-02-09 10:10:35 +01:00
antirez
552bc42754 Merge remote branch 'pietern/unstable-brpoplpush' into unstable 2011-02-07 15:28:01 +01:00
antirez
ae3212959f Fix for the previous port 0 patch, thanks to Pieter for noticing the error 2011-02-07 13:43:29 +01:00
antirez
16754f14e1 If port zero is specified, Redis will not listen for TCP connections 2011-02-07 12:52:01 +01:00
Pieter Noordhuis
a282e91b0f Clarify comment 2011-02-03 12:56:53 +01:00
Pieter Noordhuis
f9120df538 Reply with single null bulk for unsuccesful BRPOPLPUSH 2011-02-03 12:56:50 +01:00
antirez
317f61ad26 propagate key eviction to slaves and AOF, like for expires, so that replicas and AOFs are always consistent even in maxmemory mode. 2011-01-27 16:52:37 +01:00