Commit Graph

70 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 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 8cca9b8277 Warns if using the default config 2009-05-24 09:21:35 +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 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 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 3ba37089b5 command postprocessing implemented into RubyRedis 2009-05-21 13:22:20 +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
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 5109cdff83 DEL is now a vararg, IMPORTANT: memory leak fixed in loading DB code 2009-05-09 12:18:32 +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 dec423d9cf fixed for HT resize check 32bits overflow 2009-04-29 16:50:48 +02:00
antirez 5a7c647e9a Check for fork() failure in background saving 2009-04-29 10:33:29 +02:00
antirez 3a2694c441 fix for the LZF off-by-one bug added 2009-04-29 01:04:04 +02:00
antirez b284af55d8 print bytes used at exit on SHUTDOWN 2009-04-28 22:04:41 +02:00
antirez a4460ef43f SMOVE command implemented 2009-04-28 20:36:08 +02:00
antirez bb0b03a3d7 less CPU usage in command parsing, case insensitive config directives 2009-04-28 16:54:56 +02:00
antirez a431eb74ba GETSET implemented 2009-04-28 14:42:55 +02:00
antirez b8b553c84f ability to specify a different file name for the DB 2009-04-27 18:10:00 +02:00
antirez 85dd2f3ad2 log file parsing code improved a bit 2009-04-27 18:03:34 +02:00
antirez be2bb6b07e bgsave_in_progress field in INFO output 2009-04-27 17:52:04 +02:00
antirez d68ed1201a INCRBY/DECRBY now support 64bit increments, with tests 2009-04-27 17:50:26 +02:00
antirez ca37e9cde8 FLUSHALL/FLUSHDB no longer sync on disk. Just increment the dirty counter by the number of elements removed, that will probably trigger a background saving operation 2009-04-22 01:44:48 +02:00
antirez 6208b3a776 Non blocking replication (finally!). C-side linked lists API improved. 2009-04-20 23:51:51 +02:00
antirez 40d224a9e3 SUNION, SUNIONSTORE, Initial work on non blocking replication 2009-04-19 10:02:36 +02:00
antirez 6bea3d5f58 Redis 0.091 released 2009-04-10 13:49:50 +02:00
antirez 5faa6025f5 SINTER/SINTERSTORE/SLEMENTS fix: misisng keys are now not errors, but just like empty sets 2009-04-10 13:43:41 +02:00
Bob Potter 5a6e8b1daa Rearrange redisObject struct to reduce memory usage in 64bit environments (as recommended http://groups.google.com/group/redis-db/msg/68f5a743f8f4e287) 2009-04-07 18:40:33 -05:00
Bob Potter 5fba9f717b 64bit fixes for usedmemory 2009-04-07 18:33:44 -05:00
antirez ce7bef0795 RANDOMKEY issue 26 fixed, generic test + regression added 2009-04-08 00:59:53 +02:00
antirez 05557f6de7 Don't accept SAVE if BGSAVE is in progress 2009-04-06 10:29:36 +02:00
antirez bb32ede52e persistent EXPIRE 2009-04-03 11:07:37 +02:00
antirez 0c66a4713a dirty increment was missing in two points. TODO updated 2009-04-03 10:04:51 +02:00
antirez 88e859984a compression/decompression of large values on disk now working 2009-04-02 17:10:02 +02:00
antirez 40c32c3e49 disable LZF compression since it's not able to load the DB for now, the load part is missing 2009-04-02 10:02:06 +02:00
antirez 2e77c2ee72 Fixed issue 23 about AUTH 2009-04-02 09:57:06 +02:00
antirez 774e304780 Issue 22 fixed 2009-04-02 09:54:45 +02:00
antirez 94754ccc3c non-lazy expired keys purging implemented 2009-04-01 20:40:00 +02:00
antirez 3305306f09 Initial implementation of EXPIRE 2009-04-01 13:22:35 +02:00