]> git.saurik.com Git - redis.git/log
redis.git
15 years agodoc update
antirez [Mon, 20 Apr 2009 22:33:34 +0000 (00:33 +0200)] 
doc update

15 years agoNon blocking replication (finally!). C-side linked lists API improved.
antirez [Mon, 20 Apr 2009 21:51:51 +0000 (23:51 +0200)] 
Non blocking replication (finally!). C-side linked lists API improved.

15 years agoSUNION, SUNIONSTORE, Initial work on non blocking replication
antirez [Sun, 19 Apr 2009 08:02:36 +0000 (10:02 +0200)] 
SUNION, SUNIONSTORE, Initial work on non blocking replication

15 years agoRedis 0.091 released
antirez [Fri, 10 Apr 2009 11:49:50 +0000 (13:49 +0200)] 
Redis 0.091 released

15 years agoSINTER/SINTERSTORE/SLEMENTS fix: misisng keys are now not errors, but just like empty...
antirez [Fri, 10 Apr 2009 11:43:41 +0000 (13:43 +0200)] 
SINTER/SINTERSTORE/SLEMENTS fix: misisng keys are now not errors, but just like empty sets

15 years agodoc changes
antirez [Thu, 9 Apr 2009 06:44:55 +0000 (08:44 +0200)] 
doc changes

15 years agoTODO changes, minor change to default redis.conf
antirez [Wed, 8 Apr 2009 11:46:26 +0000 (13:46 +0200)] 
TODO changes, minor change to default redis.conf

15 years agohtml doc updated
antirez [Wed, 8 Apr 2009 11:42:34 +0000 (13:42 +0200)] 
html doc updated

15 years agolibrary clients update scripts
antirez [Wed, 8 Apr 2009 11:26:36 +0000 (13:26 +0200)] 
library clients update scripts

15 years agoRuby client updated
antirez [Wed, 8 Apr 2009 11:20:03 +0000 (13:20 +0200)] 
Ruby client updated

15 years agoLua client updated
antirez [Wed, 8 Apr 2009 11:17:55 +0000 (13:17 +0200)] 
Lua client updated

15 years agoChangelog updated
antirez [Wed, 8 Apr 2009 10:25:15 +0000 (12:25 +0200)] 
Changelog updated

15 years agoMerge git://github.com/ludoo/redis
antirez [Wed, 8 Apr 2009 10:13:56 +0000 (12:13 +0200)] 
Merge git://github.com/ludoo/redis

15 years agoadd expire command to the php lib
Ludovico Magnocavallo [Wed, 8 Apr 2009 10:09:56 +0000 (12:09 +0200)] 
add expire command to the php lib

15 years agofix decode bug, add flush and info commands
Ludovico Magnocavallo [Wed, 8 Apr 2009 10:08:05 +0000 (12:08 +0200)] 
fix decode bug, add flush and info commands

15 years agoRearrange redisObject struct to reduce memory usage in 64bit environments (as recomme...
Bob Potter [Tue, 7 Apr 2009 23:40:33 +0000 (18:40 -0500)] 
Rearrange redisObject struct to reduce memory usage in 64bit environments (as recommended http://groups.google.com/group/redis-db/msg/68f5a743f8f4e287)

15 years agoruby19 compat: use each_line on string
Bob Potter [Tue, 7 Apr 2009 23:36:23 +0000 (18:36 -0500)] 
ruby19 compat: use each_line on string

15 years ago64bit fixes for usedmemory
Bob Potter [Tue, 7 Apr 2009 23:33:44 +0000 (18:33 -0500)] 
64bit fixes for usedmemory

15 years agoRANDOMKEY issue 26 fixed, generic test + regression added
antirez [Tue, 7 Apr 2009 22:59:53 +0000 (00:59 +0200)] 
RANDOMKEY issue 26 fixed, generic test + regression added

15 years agoDon't accept SAVE if BGSAVE is in progress
antirez [Mon, 6 Apr 2009 08:29:36 +0000 (10:29 +0200)] 
Don't accept SAVE if BGSAVE is in progress

15 years agoadd expire command to the python lib
Ludovico Magnocavallo [Mon, 6 Apr 2009 08:19:26 +0000 (10:19 +0200)] 
add expire command to the python lib

15 years agopersistent EXPIRE
antirez [Fri, 3 Apr 2009 09:07:37 +0000 (11:07 +0200)] 
persistent EXPIRE

15 years agodirty increment was missing in two points. TODO updated
antirez [Fri, 3 Apr 2009 08:04:51 +0000 (10:04 +0200)] 
dirty increment was missing in two points. TODO updated

15 years agoLZF configured to initalize the HT in order to be determinsitic and play well with...
antirez [Thu, 2 Apr 2009 21:00:27 +0000 (23:00 +0200)] 
LZF configured to initalize the HT in order to be determinsitic and play well with valgrind

15 years agofix select test
Ludovico Magnocavallo [Thu, 2 Apr 2009 15:34:42 +0000 (17:34 +0200)] 
fix select test

15 years agofix trailing cr+nl in values
Ludovico Magnocavallo [Thu, 2 Apr 2009 15:33:04 +0000 (17:33 +0200)] 
fix trailing cr+nl in values

15 years agocompression/decompression of large values on disk now working
antirez [Thu, 2 Apr 2009 15:10:02 +0000 (17:10 +0200)] 
compression/decompression of large values on disk now working

15 years agodisable LZF compression since it's not able to load the DB for now, the load part...
antirez [Thu, 2 Apr 2009 08:02:06 +0000 (10:02 +0200)] 
disable LZF compression since it's not able to load the DB for now, the load part is missing

15 years agonew LZF files added
antirez [Thu, 2 Apr 2009 08:00:49 +0000 (10:00 +0200)] 
new LZF files added

15 years agoFixed issue 23 about AUTH
antirez [Thu, 2 Apr 2009 07:57:06 +0000 (09:57 +0200)] 
Fixed issue 23 about AUTH

15 years agoIssue 22 fixed
antirez [Thu, 2 Apr 2009 07:54:45 +0000 (09:54 +0200)] 
Issue 22 fixed

15 years agonon-lazy expired keys purging implemented
antirez [Wed, 1 Apr 2009 18:40:00 +0000 (20:40 +0200)] 
non-lazy expired keys purging implemented

15 years agofastlz dependence removed
antirez [Wed, 1 Apr 2009 12:36:29 +0000 (14:36 +0200)] 
fastlz dependence removed

15 years agoInitial implementation of EXPIRE
antirez [Wed, 1 Apr 2009 11:22:35 +0000 (13:22 +0200)] 
Initial implementation of EXPIRE

15 years agoTODO updated
antirez [Mon, 30 Mar 2009 14:27:35 +0000 (16:27 +0200)] 
TODO updated

15 years agochangelog added
antirez [Mon, 30 Mar 2009 10:13:43 +0000 (12:13 +0200)] 
changelog added

15 years agoredis-sha1 utility added
antirez [Sat, 28 Mar 2009 10:50:27 +0000 (11:50 +0100)] 
redis-sha1 utility added

15 years agoInteger encoding implemented in dump file. Doc updated
antirez [Sat, 28 Mar 2009 09:58:19 +0000 (10:58 +0100)] 
Integer encoding implemented in dump file. Doc updated

15 years agofeature macros defined to play well with C99
antirez [Fri, 27 Mar 2009 21:01:04 +0000 (22:01 +0100)] 
feature macros defined to play well with C99

15 years agofeature macros defined to play well with C99
antirez [Fri, 27 Mar 2009 21:00:27 +0000 (22:00 +0100)] 
feature macros defined to play well with C99

15 years agonow Redis is C99-ok
antirez [Fri, 27 Mar 2009 20:37:57 +0000 (21:37 +0100)] 
now Redis is C99-ok

15 years agoIMPORTANT FIX: new dump format implementation was broken. Now it's ok but tests for...
antirez [Fri, 27 Mar 2009 20:27:42 +0000 (21:27 +0100)] 
IMPORTANT FIX: new dump format implementation was broken. Now it's ok but tests for the 32-bit case values are needed

15 years agoANSI-C compatibility changes
antirez [Fri, 27 Mar 2009 19:48:32 +0000 (20:48 +0100)] 
ANSI-C compatibility changes

15 years agoRuby client library updated. Important changes in this new version!
antirez [Fri, 27 Mar 2009 11:14:35 +0000 (12:14 +0100)] 
Ruby client library updated. Important changes in this new version!

15 years agoLua client added thanks to Daniele Alessandri
antirez [Thu, 26 Mar 2009 16:24:53 +0000 (17:24 +0100)] 
Lua client added thanks to Daniele Alessandri

15 years agoLua client added thanks to Daniele Alessandri
antirez [Thu, 26 Mar 2009 16:23:51 +0000 (17:23 +0100)] 
Lua client added thanks to Daniele Alessandri

15 years agoAUTH merged from Brian Hammond fork, reworked a bit to fix minor problems
antirez [Thu, 26 Mar 2009 10:46:14 +0000 (11:46 +0100)] 
AUTH merged from Brian Hammond fork, reworked a bit to fix minor problems

15 years agoAdds AUTH command.
Brian Hammond [Thu, 26 Mar 2009 03:03:56 +0000 (23:03 -0400)] 
Adds AUTH command.

$ make
cc -c -O2 -Wall -W -DSDS_ABORT_ON_OOM -g  adlist.c
cc -c -O2 -Wall -W -DSDS_ABORT_ON_OOM -g  ae.c
cc -c -O2 -Wall -W -DSDS_ABORT_ON_OOM -g  anet.c
cc -c -O2 -Wall -W -DSDS_ABORT_ON_OOM -g  dict.c
cc -c -O2 -Wall -W -DSDS_ABORT_ON_OOM -g  redis.c
cc -c -O2 -Wall -W -DSDS_ABORT_ON_OOM -g  sds.c
cc -c -O2 -Wall -W -DSDS_ABORT_ON_OOM -g  zmalloc.c
cc -o redis-server -O2 -Wall -W -DSDS_ABORT_ON_OOM -g adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o

Hint: To run the test-redis.tcl script is a good idea.
Launch the redis server with ./redis-server, then in another
terminal window enter this directory and run 'make test'.

cc -c -O2 -Wall -W -DSDS_ABORT_ON_OOM -g  benchmark.c
cc -o redis-benchmark -O2 -Wall -W -DSDS_ABORT_ON_OOM -g ae.o anet.o benchmark.o sds.o adlist.o zmalloc.o
cc -c -O2 -Wall -W -DSDS_ABORT_ON_OOM -g  redis-cli.c
cc -o redis-cli -O2 -Wall -W -DSDS_ABORT_ON_OOM -g anet.o sds.o adlist.o redis-cli.o zmalloc.o

$ tail -1 redis.conf

$ ./redis-server redis.conf &
[1] 52494
$ - Server started, Redis version 0.08
- DB loaded from disk
- The server is now ready to accept connections on port 6379
. 0 clients connected (0 slaves), 1932 bytes in use

$ make test
tclsh test-redis.tcl
DEL all keys to start with a clean DB                                  . Accepted 127.0.0.1:54490
PASSED
SET and GET an item                                                    PASSED
DEL against a single item                                              PASSED
KEYS with pattern                                                      PASSED
KEYS to get all keys                                                   PASSED
DBSIZE                                                                 PASSED
DEL all keys                                                           PASSED
Very big payload in GET/SET                                            PASSED
SET 10000 numeric keys and access all them in reverse order            . DB 0: 10001 keys in 16384 slots HT.
. 1 clients connected (0 slaves), 4885707 bytes in use
PASSED
DBSIZE should be 10001 now                                             PASSED
INCR against non existing key                                          PASSED
INCR against key created by incr itself                                PASSED
INCR against key originally set with SET                               PASSED
SETNX target key missing                                               PASSED
SETNX target key exists                                                PASSED
EXISTS                                                                 PASSED
Zero length value in key. SET/GET/EXISTS                               PASSED
Commands pipelining                                                    PASSED
Non existing command                                                   PASSED
Basic LPUSH, RPUSH, LLENGTH, LINDEX                                    PASSED
DEL a list                                                             PASSED
Create a long list and check every single element with LINDEX          PASSED
Test elements with LINDEX in random access                             PASSED
LLEN against non-list value error                                      PASSED
LINDEX against non-list value error                                    PASSED
LPUSH against non-list value error                                     PASSED
RPUSH against non-list value error                                     PASSED
RENAME basic usage                                                     PASSED
RENAME source key should no longer exist                               PASSED
RENAME against already existing key                                    PASSED
RENAMENX basic usage                                                   PASSED
RENAMENX against already existing key                                  PASSED
RENAMENX against already existing key (2)                              PASSED
RENAME against non existing source key                                 PASSED
RENAME where source and dest key is the same                           PASSED
DEL all keys again (DB 0)                                              PASSED
DEL all keys again (DB 1)                                              PASSED
MOVE basic usage                                                       PASSED
MOVE against key existing in the target DB                             PASSED
SET/GET keys in different DBs                                          PASSED
Basic LPOP/RPOP                                                        PASSED
LPOP/RPOP against empty list                                           PASSED
LPOP against non list value                                            PASSED
Mass LPUSH/LPOP                                                        PASSED
LRANGE basics                                                          PASSED
LRANGE inverted indexes                                                PASSED
LRANGE out of range indexes including the full list                    PASSED
LRANGE against non existing key                                        PASSED
LTRIM basics                                                           PASSED
LSET                                                                   PASSED
LSET out of range index                                                PASSED
LSET against non existing key                                          PASSED
LSET against non list value                                            PASSED
SADD, SCARD, SISMEMBER, SMEMBERS basics                                PASSED
SADD adding the same element multiple times                            PASSED
SADD against non set                                                   PASSED
SREM basics                                                            PASSED
Mass SADD and SINTER with two sets                                     PASSED
SINTERSTORE with two sets                                              PASSED
SINTER against three sets                                              PASSED
SINTERSTORE with three sets                                            PASSED
SAVE - make sure there are all the types as values                     - DB saved on disk
PASSED
Create a random list                                                   . DB 0: 6057 keys in 16384 slots HT.
. DB 1: 3 keys in 16 slots HT.
. 1 clients connected (0 slaves), 1045147 bytes in use
PASSED
SORT with BY against the newly created list                            PASSED
SORT direct, numeric, against the newly created list                   PASSED
SORT decreasing sort                                                   PASSED
SORT speed, sorting 10000 elements list using BY, 100 times
  Average time to sort: 5.28 milliseconds PASSED
SORT speed, sorting 10000 elements list directly, 100 times
  Average time to sort: 1.53 milliseconds PASSED
SORT speed, pseudo-sorting 10000 elements list, BY <const>, 100 times
  Average time to sort: 0.47 milliseconds PASSED
SORT regression for issue #19, sorting floats                          - DB saved on disk
PASSED
LREM, remove all the occurrences                                       - DB saved on disk
PASSED
LREM, remove the first occurrence                                      PASSED
LREM, remove non existing element                                      PASSED
LREM, starting from tail with negative count                           - DB saved on disk
PASSED
LREM, starting from tail with negative count (2)                       PASSED
MGET                                                                   - DB saved on disk
PASSED
MGET against non existing key                                          PASSED
MGET against non-string key                                            PASSED
FLUSHALL                                                               - DB saved on disk
PASSED

79 tests, 79 passed, 0 failed
. Client closed connection
. 0 clients connected (0 slaves), 1347660 bytes in use

$ kill -15 %1
[1]+  Terminated              ./redis-server redis.conf

$ vim redis.conf

$ tail -1 redis.conf
requirepass foobared

$ ./redis-server redis.conf &
[1] 52518
$ - Server started, Redis version 0.08
- DB loaded from disk
- The server is now ready to accept connections on port 6379
. 0 clients connected (0 slaves), 1945 bytes in use

$ make test
tclsh test-redis.tcl
. Accepted 127.0.0.1:54492
DEL all keys to start with a clean DB

ERR operation not permitted

    while executing
"::redis::redis_read_reply $fd"
    (procedure "::redis::__dispatch__" line 13)
    invoked from within
"$r keys *"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $code"
    (procedure "test" line 4)
    invoked from within
"test {DEL all keys to start with a clean DB} {
        foreach key [$r keys *] {$r del $key}
        $r dbsize
    } {0}"
    (procedure "main" line 13)
    invoked from within
"main 127.0.0.1 6379"
    invoked from within
"if {[llength $argv] == 0} {
    main 127.0.0.1 6379
} elseif {[llength $argv] == 1 && [lindex $argv 0] eq {stress}} {
    stress
} else {
    main [li..."
    (file "test-redis.tcl" line 630)
. Client closed connection
make: *** [test] Error 1
. 0 clients connected (0 slaves), 2041 bytes in use
. 0 clients connected (0 slaves), 2041 bytes in use

$ kill -15 %1
[1]+  Terminated              ./redis-server redis.conf

$ vim test-redis.tcl

$ git diff test-redis.tcl

15 years agoNasty bug of the new DB format fixed, objects sharing implemented
antirez [Wed, 25 Mar 2009 20:00:48 +0000 (21:00 +0100)] 
Nasty bug of the new DB format fixed, objects sharing implemented

15 years agodoc update
antirez [Wed, 25 Mar 2009 15:49:58 +0000 (16:49 +0100)] 
doc update

15 years agoErlang client synched with Valentiono's repo
antirez [Wed, 25 Mar 2009 15:49:27 +0000 (16:49 +0100)] 
Erlang client synched with Valentiono's repo

15 years agoNew file dump format, perl client library added
antirez [Wed, 25 Mar 2009 15:47:22 +0000 (16:47 +0100)] 
New file dump format, perl client library added

15 years agoNew protocol fix for LREM
antirez [Tue, 24 Mar 2009 23:26:47 +0000 (00:26 +0100)] 
New protocol fix for LREM

15 years agotwo typos fixed
antirez [Tue, 24 Mar 2009 20:48:04 +0000 (21:48 +0100)] 
two typos fixed

15 years agoNow the Redis test uses the proper Tcl client library
antirez [Tue, 24 Mar 2009 19:00:15 +0000 (20:00 +0100)] 
Now the Redis test uses the proper Tcl client library

15 years agoTcl client library
antirez [Tue, 24 Mar 2009 18:22:45 +0000 (19:22 +0100)] 
Tcl client library

15 years agoredis-benchmark sync with the new protocol
antirez [Tue, 24 Mar 2009 14:22:27 +0000 (15:22 +0100)] 
redis-benchmark sync with the new protocol

15 years agogit mess :)
Ludovico Magnocavallo [Tue, 24 Mar 2009 13:33:43 +0000 (14:33 +0100)] 
git mess :)

15 years agosync python client to the new protocol
Ludovico Magnocavallo [Tue, 24 Mar 2009 13:30:04 +0000 (14:30 +0100)] 
sync python client to the new protocol

15 years agoprotocol fix in SORT reply with null elements
antirez [Tue, 24 Mar 2009 13:22:42 +0000 (14:22 +0100)] 
protocol fix in SORT reply with null elements

15 years agoprotocol doc changed
antirez [Tue, 24 Mar 2009 12:38:25 +0000 (13:38 +0100)] 
protocol doc changed

15 years agoServer replies now in the new format, test-redis.tcl and redis-cli modified accordingly
antirez [Tue, 24 Mar 2009 12:37:32 +0000 (13:37 +0100)] 
Server replies now in the new format, test-redis.tcl and redis-cli modified accordingly

15 years agoPython client library updated, thanks to Ludo!
antirez [Tue, 24 Mar 2009 10:28:34 +0000 (11:28 +0100)] 
Python client library updated, thanks to Ludo!

15 years agorandom tested mode for test-redis.tcl, minor other stuff, version switched to 0.8
antirez [Mon, 23 Mar 2009 23:43:38 +0000 (00:43 +0100)] 
random tested mode for test-redis.tcl, minor other stuff, version switched to 0.8

15 years agoNow MONITOR/SYNC cannot be issued multiple times
antirez [Mon, 23 Mar 2009 20:33:15 +0000 (21:33 +0100)] 
Now MONITOR/SYNC cannot be issued multiple times

15 years agoMONITOR command implemented.
antirez [Mon, 23 Mar 2009 18:43:39 +0000 (19:43 +0100)] 
MONITOR command implemented.

15 years agolucsky changes imported. pid file path can now be configured, redis-cli fixes
antirez [Mon, 23 Mar 2009 16:22:24 +0000 (17:22 +0100)] 
lucsky changes imported. pid file path can now be configured, redis-cli fixes

15 years agoMerge git://github.com/lucsky/redis
antirez [Mon, 23 Mar 2009 16:21:33 +0000 (17:21 +0100)] 
Merge git://github.com/lucsky/redis

15 years agoanother missing free->zfree replacement fixed. Thanks to Ludo
antirez [Mon, 23 Mar 2009 13:50:09 +0000 (14:50 +0100)] 
another missing free->zfree replacement fixed. Thanks to Ludo

15 years agoFixed redis-cli readLine loop to correctly handle EOF.
Luc Heinrich [Mon, 23 Mar 2009 11:43:16 +0000 (12:43 +0100)] 
Fixed redis-cli readLine loop to correctly handle EOF.

When using the shutdown command with redis-cli the server saves the database and, if successful, silently closes the connection. The redis-cli tool did not correcty handle this EOF case in its readLine loop and was therefore infinitely looping - and eating 100% of the CPU - while waiting for some data which would never come.

15 years agoDisplay the port on server startup.
Luc Heinrich [Mon, 23 Mar 2009 11:42:10 +0000 (12:42 +0100)] 
Display the port on server startup.

15 years agoAllow to specify the pid file from the config file.
Luc Heinrich [Mon, 23 Mar 2009 11:31:33 +0000 (12:31 +0100)] 
Allow to specify the pid file from the config file.

15 years agoAdded gitignore file.
Luc Heinrich [Mon, 23 Mar 2009 11:28:28 +0000 (12:28 +0100)] 
Added gitignore file.

15 years agoMGET tests added
antirez [Sun, 22 Mar 2009 14:27:09 +0000 (15:27 +0100)] 
MGET tests added

15 years agodoc changes
antirez [Sun, 22 Mar 2009 14:15:51 +0000 (15:15 +0100)] 
doc changes

15 years agoadded doc for MGET
antirez [Sun, 22 Mar 2009 14:08:06 +0000 (15:08 +0100)] 
added doc for MGET

15 years agoredis-cli now checks the arity of vararg commnads
antirez [Sun, 22 Mar 2009 13:59:05 +0000 (14:59 +0100)] 
redis-cli now checks the arity of vararg commnads

15 years agoINFO fixed, MGET implemented, redis-cli implements INFO/MGET
antirez [Sun, 22 Mar 2009 13:54:14 +0000 (14:54 +0100)] 
INFO fixed, MGET implemented, redis-cli implements INFO/MGET

15 years agofirst commit
antirez [Sun, 22 Mar 2009 09:30:00 +0000 (10:30 +0100)] 
first commit