antirez
|
45029d37cb
|
Two fixes for replication: Slave performs the AOF rewrite at the right point. Non blocking connect also uses readable handler as with old Linux kernels like 2.6.18 on connection refused the writable even is not fired (kernel bug).
|
2011-06-09 15:39:12 +02:00 |
|
antirez
|
73e718675b
|
Better colorized Makefile implementation, inspired by git makefile
|
2011-06-08 17:09:18 +02:00 |
|
antirez
|
fc879abe4a
|
Merge branch 'unstable'
|
2011-06-07 17:01:45 +02:00 |
|
antirez
|
cf1eefa420
|
Merge remote branch 'origin/unstable' into unstable
|
2011-06-05 20:51:49 +02:00 |
|
antirez
|
5daa1f060a
|
no more client-libraries directory
|
2011-06-05 20:51:45 +02:00 |
|
antirez
|
06e09c9b58
|
no more html documentation
|
2011-06-05 20:51:31 +02:00 |
|
antirez
|
936c4ab64b
|
touch less pages in decrRefCount
|
2011-06-03 17:33:23 +02:00 |
|
Pieter Noordhuis
|
294cd536e0
|
There is no debug mode in benchmark tool
|
2011-06-01 09:22:19 -07:00 |
|
Pieter Noordhuis
|
39bf440243
|
Provide custom command to benchmark against via args
|
2011-06-01 09:22:19 -07:00 |
|
Pieter Noordhuis
|
fc05e8c850
|
More const's in redis-benchmark.c
|
2011-06-01 09:22:19 -07:00 |
|
antirez
|
b002546bb4
|
ZREM tests
|
2011-05-31 20:30:54 +02:00 |
|
antirez
|
3f7b2b1f30
|
Variadic ZREM
|
2011-05-31 20:15:18 +02:00 |
|
antirez
|
3738ff5f32
|
Fix for the variadic version of SREM. Regression test added.
|
2011-05-31 20:14:29 +02:00 |
|
antirez
|
faa2a80f89
|
disabled development test entry, tests moved in the right place
|
2011-05-31 18:49:12 +02:00 |
|
antirez
|
3fe40d6e3c
|
Variadic ZADD tests
|
2011-05-31 18:35:09 +02:00 |
|
antirez
|
ef231a7c56
|
Variadic ZADD
|
2011-05-31 17:47:34 +02:00 |
|
Pieter Noordhuis
|
632e4c09ac
|
Make replication faster (biggest gain for small number of slaves)
|
2011-05-30 12:45:07 +02:00 |
|
antirez
|
615e414c5d
|
INFO now contains the time (in usecs) needed to fork() in order to persist. The info is available in the stats section of INFO.
|
2011-05-29 15:17:29 +02:00 |
|
antirez
|
43222f253a
|
Merge remote branch 'pietern/unstable-replnonblock' into unstable
|
2011-05-29 14:26:01 +02:00 |
|
antirez
|
18f63d8d51
|
redis-cli: -i (interval) implemented, to wait the specified number of seconds (decimal digits are allowed) between commands.
|
2011-05-28 15:41:08 +02:00 |
|
antirez
|
442c748d84
|
redis-cli: Use the repetiton prefix after a reconnection.
|
2011-05-28 15:25:48 +02:00 |
|
antirez
|
4d19e3443c
|
redis-cli in REPL mode is now able to send the same command multiple times, prefixing the command with a number as in "10 ping"
|
2011-05-28 15:13:55 +02:00 |
|
antirez
|
a45f9a1a1d
|
redis-cli no longer aborts in repl-mode on error, and retries to reconncet with the server at every command issued if the state is not connected. Also the prompt shows the server we are connected to.
|
2011-05-28 15:04:12 +02:00 |
|
antirez
|
e4f6b8c327
|
Merge branch 'unstable'
|
2011-05-25 12:33:25 +02:00 |
|
antirez
|
3bb818df40
|
Make sure error and status replies emitted by Lua scripts can never have more than a newline, otherwise it is a protocol violation and clients will desync.
|
2011-05-25 12:32:50 +02:00 |
|
antirez
|
449286a588
|
Scripting tests added
|
2011-05-25 12:32:50 +02:00 |
|
antirez
|
e927a24610
|
Fix for wrong error level detection in redis.log()
|
2011-05-25 12:32:50 +02:00 |
|
antirez
|
288f811fea
|
All commands exported by Redis to Lua scripts are now inside the redis table. Implemented redis.log() function.
|
2011-05-25 12:32:50 +02:00 |
|
antirez
|
7229d60d03
|
EVALSHA implemented
|
2011-05-25 12:32:49 +02:00 |
|
antirez
|
82c6b8257a
|
Now it is possible to return multi bulks of multi bulks from Lua, just returning tables of tables. The new conversion of the Null bulk and multi bulk type is the Lua false type.
|
2011-05-25 12:32:49 +02:00 |
|
antirez
|
da386cdf33
|
for performance reasons only set the debug hook if the time limit is enabled.
|
2011-05-25 12:32:49 +02:00 |
|
antirez
|
87c219243c
|
Lua max exec time fixes: redisLog() to log the event moved before the lua_error() call that does a long jump so never returns. Aesthetic fixes in error message.
|
2011-05-25 12:32:49 +02:00 |
|
antirez
|
bcc72bc381
|
call the Lua hook with minor frequency. It is already enough to call it every 100000 istructions for near millisecond precision.
|
2011-05-25 12:32:48 +02:00 |
|
antirez
|
eeffcf380f
|
Lua scripts max execution time
|
2011-05-25 12:32:48 +02:00 |
|
antirez
|
8c3402dffa
|
Lua memory usage in INFO
|
2011-05-25 12:32:48 +02:00 |
|
antirez
|
40531be0e3
|
call lua_gc() for incremental garbage collection. Likely there is to tune this at some point.
|
2011-05-25 12:32:48 +02:00 |
|
antirez
|
c2a7dd85ae
|
Lua scripting: Honor SELECT command in both ways
|
2011-05-25 12:32:47 +02:00 |
|
antirez
|
09ab5591fa
|
Fixed a problem in the script engine that crashed the server if the reply was not stored just int the static buffer of the client structure.
|
2011-05-25 12:32:47 +02:00 |
|
antirez
|
0d916763af
|
Status replies converted in a special way like errors in the Lua <-> Redis conversion code.
|
2011-05-25 12:32:47 +02:00 |
|
antirez
|
e8092bf601
|
Scripting doc updated
|
2011-05-25 12:32:47 +02:00 |
|
antirez
|
497fc8775f
|
Eval command table fixed to return the keys arguments of the command. We use zunionInterGetKeys() as it ZUNION/ZINTER have exactly the same semantic with a prefixed number of keys followed by key names.
|
2011-05-25 12:32:47 +02:00 |
|
antirez
|
171ef6813d
|
TODO updated
|
2011-05-25 12:32:46 +02:00 |
|
antirez
|
379789cc52
|
Fixed nul bulk parsing in Redis protocol to Lua type convertion. Check for bad Lua types as arguements of the redis() Lua command.
|
2011-05-25 12:32:46 +02:00 |
|
antirez
|
67e829dce5
|
Scripting todo list updated
|
2011-05-25 12:32:46 +02:00 |
|
antirez
|
10a6da7af4
|
Multi bulk to Lua table now working
|
2011-05-25 12:32:46 +02:00 |
|
antirez
|
3791000f15
|
Fixed arity detection of Redis command executed from Lua script. Error reporting from Lua fixed. More work on the Redis reply to lua conversion code.
|
2011-05-25 12:32:45 +02:00 |
|
antirez
|
532e0f5ded
|
full conversion from Lua return value to redis reply. Partial conversion from Redis reply to Lua type.
|
2011-05-25 12:32:45 +02:00 |
|
antirez
|
4ae5b5e163
|
pupulate the Lua global tables KEYS and ARGV before executing the script
|
2011-05-25 12:32:45 +02:00 |
|
antirez
|
00b7541b21
|
function to access to Redis command from Lua renamed from r() to redis()
|
2011-05-25 12:32:45 +02:00 |
|
antirez
|
7b72272790
|
when creating not connected clients do not add them into the clients list, otherwise they will be subject to timeouts and other stuff
|
2011-05-25 12:32:44 +02:00 |
|