Commit Graph

7151 Commits

Author SHA1 Message Date
antirez
e083d75262 ignore gcc warning about write() return code not checked. It is esplicitily this way since the "max number of clients reached" is a best-effort error 2009-05-26 16:45:57 +02:00
antirez
a1f6fa5edc max bytes of a received command enlarged from 1k to 16k 2009-05-26 16:35:18 +02:00
antirez
a56785f73c RubyRedis: set TCP_NODELAY TCP socket option to to disable the neagle algorithm. Makes a huge difference under some OS, notably Linux 2009-05-26 01:12:46 +02:00
antirez
285add5558 maxclients implemented, see redis.conf for details 2009-05-25 23:29:18 +02:00
antirez
a0f643ea4c INFO command now reports replication info 2009-05-25 23:02:42 +02:00
antirez
0b420168b4 minor fix to RubyRedis about bulk commands sent without arguments 2009-05-25 21:30:20 +02:00
antirez
8cca9b8277 Warns if using the default config 2009-05-24 09:21:35 +02:00
antirez
2073a849df Issue with redis-client used in scripts solved, now to check if the latest argument must come from standard input we do not check that stdin is or not a tty but the command arity 2009-05-24 09:15:40 +02:00
antirez
4d30232b04 RubyRedis: now sets are returned as arrays again, and not as Set objects 2009-05-23 11:33:21 +02:00
antirez
e9f0b930fe SLAVEOF command documented 2009-05-23 11:16:38 +02:00
antirez
321b0e13f6 SLAVEOF command implemented for replication remote control 2009-05-23 10:56:32 +02:00
antirez
c7cf2ec97c Fix: no connection timeout for the master! 2009-05-22 21:56:00 +02:00
antirez
8c4d91fcf8 replication slave timeout when receiving the initial bulk data set to 3600 seconds, now that replication is non-blocking the server must save the db before to start the async replication and this can take a lot of time with huge datasets 2009-05-22 20:55:09 +02:00
antirez
2abee6f215 README tutorial now reflects the new proto 2009-05-22 18:44:44 +02:00
antirez
6fdc78ac69 critical bug about glueoutputbuffers=yes fixed. Under load and with pipelining and clients disconnecting on the middle of the chat with the server, Redis could block. Now it's ok 2009-05-22 18:35:51 +02:00
antirez
32c3a426a6 TTL command doc added 2009-05-22 16:08:20 +02:00
antirez
fd88489a41 TTL command implemented 2009-05-22 15:55:38 +02:00
antirez
03fd01c7eb S*STORE now return the cardinality of the resulting set 2009-05-22 15:29:27 +02:00
antirez
e3d48807b9 rubyredis more compatible with Redis-rb 2009-05-22 12:16:57 +02:00
antirez
06374c4b17 minor indentation fix 2009-05-21 21:18:31 +02:00
antirez
0dd8fce106 timeout support and Redis-rb compatibility aliases implemented in RubyRedis 2009-05-21 21:03:41 +02:00
antirez
f5bf7e3e30 RubyRedis info postprocessor rewritten in a more functional way 2009-05-21 13:51:30 +02:00
antirez
fc9aeaeaf8 dead code removed from RubyRedis 2009-05-21 13:31:00 +02:00
antirez
3ba37089b5 command postprocessing implemented into RubyRedis 2009-05-21 13:22:20 +02:00
antirez
3f32f1f691 Automagically reconnection of RubyRedis 2009-05-20 17:52:47 +02:00
antirez
ad0ea27c83 RubyRedis: Array alike operators implemented 2009-05-20 17:34:20 +02:00
antirez
cd71a5705d random testing code removed 2009-05-20 17:23:06 +02:00
antirez
4e1684df09 RubyRedis DB selection forced at object creation 2009-05-20 17:22:29 +02:00
antirez
4a327b4af9 Initial version of an alternative Ruby client added 2009-05-20 16:36:12 +02:00
antirez
1350d27e59 SDIFF / SDIFFSTORE added to doc 2009-05-20 11:09:09 +02:00
antirez
d214bb4894 Aman Gupta changes merged 2009-05-20 10:44:08 +02:00
antirez
6d4371d469 Merge git://github.com/tmm1/redis 2009-05-20 10:42:43 +02:00
Aman Gupta
0150db364d Allow timeout=0 config to disable client timeouts 2009-05-19 22:36:11 -07:00
antirez
5f5b9840c3 Partial qsort implemented in SORT command, only when both BY and LIMIT is used. minor fix for a warning compiling under Linux. 2009-05-19 18:39:58 +02:00
antirez
75fd597daf psort.c/h added. This is a partial qsort implementation that Redis will use when SORT+LIMIT is requested 2009-05-19 17:34:30 +02:00
Aman Gupta
83cdfe182f Fix SINTER/UNIONSTORE to allow for &=/|= style operations (i.e. SINTERSTORE set1 set1 set2) 2009-05-17 14:16:24 -07:00
Aman Gupta
51829ed3f0 Optimize SDIFF to return as soon as the result set is empty 2009-05-17 12:25:05 -07:00
antirez
f4f56e1dfb SDIFF/SDIFFSTORE implemnted unifying it with the implementation of SUNION/SUNIONSTORE 2009-05-17 13:45:08 +02:00
antirez
1904ecc165 timestamp in log lines 2009-05-11 19:45:47 +02:00
antirez
7407797596 Python client updated pushing from Ludo's repository 2009-05-11 13:50:09 +02:00
Ludovico Magnocavallo
b062edf392 disconnect when we cannot read from the socket 2009-05-11 13:39:59 +02:00
antirez
ecfaf6da92 benchmark utility now supports random keys 2009-05-11 00:36:12 +02:00
antirez
391b4a60a1 minor doc changes 2009-05-10 10:48:37 +02:00
antirez
cc582a7708 added tests for vararg DEL 2009-05-09 12:32:29 +02:00
antirez
5109cdff83 DEL is now a vararg, IMPORTANT: memory leak fixed in loading DB code 2009-05-09 12:18:32 +02:00
antirez
efc296a1d6 doc changes 2009-05-09 09:58:26 +02:00
antirez
57172ffb31 CPP client added thanks to Brian Hammond 2009-05-09 09:25:59 +02:00
antirez
93ea375904 Infinite number of arguments for MGET and all the other commands 2009-05-06 23:54:57 +02:00
antirez
0bc0337896 Warns if /proc/sys/vm/overcommit_memory is set to 0 on Linux. Also make sure to don't resize the hash tables while the child process is saving in order to avoid copy-on-write of memory pages 2009-05-04 16:26:06 +02:00
antirez
8d196ebac2 zmalloc fix, return NULL or real malloc failure 2009-04-30 20:15:18 +02:00