Commit Graph

541 Commits

Author SHA1 Message Date
12fea92890 SPOP implemented. Hash table resizing for Sets and Expires too. Changed the resize policy to play better with RANDOMKEY and SPOP. 2009-06-08 23:51:35 +02:00
d76412d1d1 some minor changes to the backtrace code 2009-06-07 20:22:43 +02:00
e65fdc7838 enable backtrace capabilities only for Linux and MacOSX 2009-06-07 15:47:59 +02:00
56906eefea Dump a backtrace on sigsegv/sigbus, original coded thanks to Diego Rosario Brogna, modified in order to work on different OSes and to enhance reliability 2009-06-07 14:00:31 +02:00
c4cd5f393c Merge git://github.com/dierbro/redis 2009-06-06 23:40:48 +02:00
433cc893c0 add more output 2009-06-06 09:49:10 +00:00
de96dbfedf store static function pointer for a useful stack trace 2009-06-06 08:50:43 +00:00
6f37672920 Avoid a busy loop while sending very large replies against very fast links, this allows to be more responsive with other clients even under a KEY * against the loopback interface 2009-06-05 23:44:26 +02:00
9f3c422c72 Kill the background saving process before performing SHUTDOWN to avoid races 2009-06-05 22:52:30 +02:00
33c08b3916 LREM now returns :0 for non existing keys 2009-06-05 16:07:22 +02:00
fe3bbfbe16 - put some order in code
- better output
2009-06-05 10:10:44 +00:00
dde65f3f3c added config.h for #ifdef business isolation, added fstat64 for Mac OS X 2009-06-05 10:50:51 +02:00
8a355d697a remove die() :-) 2009-06-04 18:48:26 +00:00
c9468bcf8a initial commit print stack trace 2009-06-04 17:26:21 +00:00
333298dac3 DEBUG OBJECT implemented 2009-06-04 17:13:33 +02:00
b5ff27084f backtrace support removed: unreliable stack trace :( 2009-06-04 16:50:24 +02:00
7f957c925b initial backtrace dumping on sigsegv/sigbus + debug command 2009-06-04 16:45:57 +02:00
e52c65b90a shareobjectspoolsize implemented in reds.conf, in order to control the pool size when object sharing is on 2009-06-03 16:01:32 +02:00
3fd78bcd45 maxmemory implemented 2009-05-27 22:53:20 +02:00
16edf32dc3 Redis git version modified to 0.101 in order to distinguish that from the latest tar.gz via INFO ;) 2009-05-26 20:54:47 +02:00
d7fc9edb18 client libraries synched in git 2009-05-26 18:10:50 +02:00
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
a1f6fa5edc max bytes of a received command enlarged from 1k to 16k 2009-05-26 16:35:18 +02:00
285add5558 maxclients implemented, see redis.conf for details 2009-05-25 23:29:18 +02:00
a0f643ea4c INFO command now reports replication info 2009-05-25 23:02:42 +02:00
8cca9b8277 Warns if using the default config 2009-05-24 09:21:35 +02:00
321b0e13f6 SLAVEOF command implemented for replication remote control 2009-05-23 10:56:32 +02:00
c7cf2ec97c Fix: no connection timeout for the master! 2009-05-22 21:56:00 +02:00
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
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
fd88489a41 TTL command implemented 2009-05-22 15:55:38 +02:00
03fd01c7eb S*STORE now return the cardinality of the resulting set 2009-05-22 15:29:27 +02:00
3ba37089b5 command postprocessing implemented into RubyRedis 2009-05-21 13:22:20 +02:00
6d4371d469 Merge git://github.com/tmm1/redis 2009-05-20 10:42:43 +02:00
0150db364d Allow timeout=0 config to disable client timeouts 2009-05-19 22:36:11 -07:00
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
83cdfe182f Fix SINTER/UNIONSTORE to allow for &=/|= style operations (i.e. SINTERSTORE set1 set1 set2) 2009-05-17 14:16:24 -07:00
51829ed3f0 Optimize SDIFF to return as soon as the result set is empty 2009-05-17 12:25:05 -07:00
f4f56e1dfb SDIFF/SDIFFSTORE implemnted unifying it with the implementation of SUNION/SUNIONSTORE 2009-05-17 13:45:08 +02:00
1904ecc165 timestamp in log lines 2009-05-11 19:45:47 +02:00
5109cdff83 DEL is now a vararg, IMPORTANT: memory leak fixed in loading DB code 2009-05-09 12:18:32 +02:00
93ea375904 Infinite number of arguments for MGET and all the other commands 2009-05-06 23:54:57 +02:00
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
dec423d9cf fixed for HT resize check 32bits overflow 2009-04-29 16:50:48 +02:00
5a7c647e9a Check for fork() failure in background saving 2009-04-29 10:33:29 +02:00
3a2694c441 fix for the LZF off-by-one bug added 2009-04-29 01:04:04 +02:00
b284af55d8 print bytes used at exit on SHUTDOWN 2009-04-28 22:04:41 +02:00
a4460ef43f SMOVE command implemented 2009-04-28 20:36:08 +02:00
bb0b03a3d7 less CPU usage in command parsing, case insensitive config directives 2009-04-28 16:54:56 +02:00
a431eb74ba GETSET implemented 2009-04-28 14:42:55 +02:00