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
|
f41e04b119
|
Merge remote branch 'pietern/unstable-replnonblock' into unstable
|
2011-05-29 14:26:01 +02:00 |
|
antirez
|
43222f253a
|
Merge remote branch 'pietern/unstable-replnonblock' into unstable
|
2011-05-29 14:26:01 +02:00 |
|
antirez
|
e257c6bd24
|
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
|
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
|
23695bffd6
|
redis-cli: Use the repetiton prefix after a reconnection.
|
2011-05-28 15:25:48 +02:00 |
|
antirez
|
442c748d84
|
redis-cli: Use the repetiton prefix after a reconnection.
|
2011-05-28 15:25:48 +02:00 |
|
antirez
|
afe31333d6
|
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
|
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
|
152d26cfe6
|
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
|
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
|
47e2130835
|
Merge branch 'unstable'
|
2011-05-25 12:33:25 +02:00 |
|
antirez
|
e4f6b8c327
|
Merge branch 'unstable'
|
2011-05-25 12:33:25 +02:00 |
|
antirez
|
cfd32c162f
|
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
|
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
|
a79ed5a118
|
Scripting tests added
|
2011-05-25 12:32:50 +02:00 |
|
antirez
|
449286a588
|
Scripting tests added
|
2011-05-25 12:32:50 +02:00 |
|
antirez
|
92aa248ab7
|
Fix for wrong error level detection in redis.log()
|
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
|
6e6b7fcc10
|
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
|
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
|
a044ec4e39
|
EVALSHA implemented
|
2011-05-25 12:32:49 +02:00 |
|
antirez
|
7229d60d03
|
EVALSHA implemented
|
2011-05-25 12:32:49 +02:00 |
|
antirez
|
a073438a52
|
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
|
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
|
98af129deb
|
for performance reasons only set the debug hook if the time limit is enabled.
|
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
|
4f89275a16
|
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
|
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
|
2ccb8cf33f
|
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
|
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
|
6f6559e47e
|
Lua scripts max execution time
|
2011-05-25 12:32:48 +02:00 |
|
antirez
|
eeffcf380f
|
Lua scripts max execution time
|
2011-05-25 12:32:48 +02:00 |
|
antirez
|
15bbcf8e48
|
Lua memory usage in INFO
|
2011-05-25 12:32:48 +02:00 |
|
antirez
|
8c3402dffa
|
Lua memory usage in INFO
|
2011-05-25 12:32:48 +02:00 |
|
antirez
|
b37b6f8ce6
|
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
|
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
|
218852a836
|
Lua scripting: Honor SELECT command in both ways
|
2011-05-25 12:32:47 +02:00 |
|
antirez
|
c2a7dd85ae
|
Lua scripting: Honor SELECT command in both ways
|
2011-05-25 12:32:47 +02:00 |
|
antirez
|
e4c113dc8a
|
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
|
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
|
3993a9a702
|
Status replies converted in a special way like errors in the Lua <-> Redis conversion code.
|
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
|
421e21fa45
|
Scripting doc updated
|
2011-05-25 12:32:47 +02:00 |
|
antirez
|
e8092bf601
|
Scripting doc updated
|
2011-05-25 12:32:47 +02:00 |
|
antirez
|
7038584d95
|
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
|
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
|
eb1719a325
|
TODO updated
|
2011-05-25 12:32:46 +02:00 |
|
antirez
|
171ef6813d
|
TODO updated
|
2011-05-25 12:32:46 +02:00 |
|
antirez
|
31d3c2fb22
|
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 |
|