Commit Graph

6475 Commits

Author SHA1 Message Date
180596766b help.h updated 2010-12-19 15:19:08 +01:00
f21779ff36 removed some dead code, added evicted keys counter separated from expired keys. 2010-12-19 15:15:08 +01:00
9d7165e885 overflow detection in INCR family functions 2010-12-19 12:22:12 +01:00
f474a5bd4e Add wait states to deal with many connections. 2010-12-18 12:11:26 +01:00
1cd3c1e08c Use multi-bulk protocol by default in redis-benchmark 2010-12-18 12:10:24 +01:00
174df6fe49 Re-use variable data in redis-benchmark 2010-12-16 23:41:58 +01:00
53f1d81712 Fix NULL-termination of variable data in redis-benchmark 2010-12-16 23:35:56 +01:00
401c3e213c bulk transfers limited to 512 MB as this is the new limit of all the redis strings 2010-12-15 16:07:49 +01:00
beb1aab3fd Merge remote branch 'pietern/cli' 2010-12-15 16:03:43 +01:00
28c07c7bf8 Specify multi-bulk delimiter via options 2010-12-15 16:02:07 +01:00
65add0a311 Improved raw output mode
Raw output mode is selected by default when STDOUT is not a tty. For
ttys, raw output can be forced using the option "--raw".
2010-12-15 15:59:06 +01:00
2136a880a7 version bumped to 2.1.8 2010-12-15 15:22:04 +01:00
f18e059e82 Make redis-cli help a little better 2010-12-15 15:00:47 +01:00
c392edf531 Show redis-cli version with repository information if present 2010-12-15 14:34:05 +01:00
c8061392e1 Minor changes to Makefile 2010-12-15 12:48:12 +01:00
ad1b4f4f59 Use helper function for string object length 2010-12-15 11:49:04 +01:00
1333f98dd2 Use helper functions in APPEND 2010-12-15 11:40:36 +01:00
8f8eeffec1 Disable negative offsets for SETRANGE 2010-12-15 11:30:50 +01:00
30407e1f4f Make SETBIT return original bit value 2010-12-15 00:42:32 +01:00
6a246b1e7e special encoding limits redefined, and all the config options for special encodings added in the example redis.conf file 2010-12-14 18:23:52 +01:00
cc7c4158bc Merge remote branch 'jonahharris/syslog' 2010-12-14 17:53:28 +01:00
8e33831b2b Merge remote branch 'pietern/cli-monitor' 2010-12-14 17:48:52 +01:00
648e965460 removed a test that will never be true fixing the compilation on Linux 2010-12-14 17:46:20 +01:00
603e616bf4 Merge branch 'master' of github.com:antirez/redis 2010-12-14 17:42:46 +01:00
57997664ea Merge remote branch 'pietern/strrange' 2010-12-14 17:42:01 +01:00
2b2eca1f56 Zero-pad timestamps in MONITOR output
Original report and fix:
http://code.google.com/p/redis/issues/detail?id=404
2010-12-14 17:39:34 +01:00
96b5d05fde initialized a few vars just to avoid warnings, not a real problem. 2010-12-14 16:39:33 +01:00
f858c11d7d Merge remote branch 'pietern/brpoplpush' 2010-12-14 16:26:37 +01:00
ef11bcccca Refactor and rename SUBSTR to GETRANGE
SUBSTR is renamed to GETRANGE to have better consistency between command
names (with SETRANGE as its dual). GETRANGE is still aliased as SUBSTR.
2010-12-14 15:16:29 +01:00
9f9e1ceaa0 Add SETRANGE command implementation and tests 2010-12-14 14:20:51 +01:00
8c304be359 cow friendly HGETALL and variants 2010-12-14 12:10:51 +01:00
7ecd4644e7 Don't decode object on STRLEN when not necessary 2010-12-14 10:42:41 +01:00
afd438dfff previouse INCR implementation restored, was actually faster for some reson not fully clear at the moment 2010-12-10 19:15:00 +01:00
a15742a41b dont take the fast path for INCR if the resulting integer will fit into a shared integer range 2010-12-10 17:23:38 +01:00
b215a496a4 faster INCR doing far less allocation in common cases 2010-12-10 17:03:38 +01:00
dd48de748c fixed compilation on Linux 2010-12-10 15:47:01 +01:00
e9bc56dbed valgrind suppression file added 2010-12-10 15:36:04 +01:00
3d24304ff9 HGET HMGET are now COW friendly, plus API refactoring and changes needed for the new implementation. 2010-12-10 15:17:55 +01:00
cc20906390 Change function name to match what it does 2010-12-10 12:16:16 +01:00
586500c0ef Typo 2010-12-10 12:06:24 +01:00
eae33c1c81 Add generic function to grow an sds value
Move logic concerned with setting a bit in an sds to the SETBIT command
instead of keeping it in sds.c. The function to grow an sds can and will
be reused for a command to set a range within a string value.
2010-12-10 11:58:21 +01:00
1b508da7ca SINTER/MEMBERS are now COW friendly, also some refactoring around was needed to get this result. 2010-12-09 23:01:09 +01:00
8b5db0a8dc removed dup syslog-ident conditional 2010-12-09 11:26:33 -05:00
076f88d657 Enforce maximum string value length of 512MB 2010-12-09 17:16:10 +01:00
e1a586ee69 syslog support 2010-12-09 11:10:21 -05:00
3c1bf4957e Add commands SETBIT/GETBIT 2010-12-09 16:39:33 +01:00
a5be65f71c COW friendly versions of SPOP and SRANDMEMBER commands, with some change to the set encoding-agnostic API. 2010-12-09 10:21:02 +01:00
d51ebef509 LRANGE converted into a COW friendly command. Some refactoring, comment, and new addReply*() family function added in the process. 2010-12-07 16:33:13 +01:00
a4ce758155 Don't execute commands for clients when they are unblocked 2010-12-06 16:39:39 +01:00
ecf9401415 Fix case and indent 2010-12-06 16:04:42 +01:00