Commit Graph

167 Commits

Author SHA1 Message Date
antirez b72f6a4b70 Fixed memory human style memory reporting, removed server.usedmemory, now zmalloc_used_memory() is used always. 2010-01-23 11:55:04 -05:00
antirez b0d8747dae VM tuning thanks to redis-stat vmstat. Now it performs much better under high load 2010-01-22 12:58:11 -05:00
antirez 1064ef8764 removed a few races from threaded VM 2010-01-15 05:09:18 -05:00
antirez 2e111efe5a Fixed a never experienced, theoretical bug that can actually happen in practice. Basically when a thread is working on a I/O Job we need to wait it to finish before to cancel the Job in vmCancelThreadedIOJob(), otherwise the thread may mess with an object that is being manipulated by the main thread as well. 2010-01-14 17:18:27 -05:00
antirez b74880b4ed minor TODO and debugging info changes 2010-01-13 09:40:50 -05:00
antirez 72e9fd40b6 support for blocking VM in config file 2010-01-12 15:23:52 -05:00
antirez ec6c7a1d78 used_memory_human added to INFO output. Human readable amount of memory used. 2010-01-08 10:38:48 -05:00
antirez 0d7170a454 added process id information in INFO 2010-01-07 08:56:57 -05:00
antirez f870935d3e Introduced a new log verbosity level, so now DEBUG is really for debugging. Refactored a bit maxmemory. When virtual memory is short in RAM free the objects freelist as well as swapping things out. 2010-01-06 09:15:17 -05:00
antirez b177fd30ac New vararg BLPOP able to block against multiple keys 2010-01-02 09:06:44 -05:00
antirez 322fc7d855 Fixed a minor bug in GETSET, now the SET part is not performed if the GET fails because the key does not contain a string value 2009-12-24 09:40:11 -05:00
antirez f6bea06f74 html docs update (ZINCRBY added) 2009-12-22 15:08:50 -05:00
antirez f0c138f61a TODO list update 2009-12-18 15:49:22 -05:00
antirez ac945e2dcf SHUTDOWN now does the right thing when append only is on, that is, fsync instead to save the snapshot. 2009-12-18 07:31:44 -05:00
antirez b2b5ae8006 Fixed sds.c bug #124 2009-12-18 05:26:11 -05:00
antirez 163f4b8cb2 html doc updated 2009-12-15 16:31:38 -05:00
antirez 25e52257e6 TODO update 2009-12-13 01:16:51 +01:00
antirez 3f477979b3 TODO list modified. What's planned for 1.4 is now written in the stone ;) 2009-12-12 19:42:42 +01:00
antirez 61c47ecd25 better handling of non blocking connect on redis-benchmark: EPIPE on read does not print an error message now 2009-12-12 00:04:20 +01:00
antirez b32627cdc1 some change to redis-sha1.rb utility to make it more robust against non-meaningful changes in the dataset 2009-12-11 18:45:25 +01:00
antirez 333fd21615 TODO change and minor SETNX optimization 2009-12-10 16:38:24 +01:00
antirez 71c54b21e2 Fixed daemonization when using kqueue/kevent. Now the server initialization is performed *after* the daemonization 2009-12-06 00:59:35 +01:00
antirez 76d31044d4 more HTML doc changes 2009-12-05 19:35:15 +01:00
antirez 5703330151 a few redis-cli format specified fixed 2009-12-05 14:26:05 +01:00
antirez 682ac7248a use __attribute__ format in sdscatprintf() when the compiler is GCC. Fixed format bugs resulting from the new warnings. 2009-12-05 13:50:36 +01:00
antirez 09f6f70209 TODO update 2009-12-01 19:37:43 +01:00
antirez 0188805dd6 TODO updated 2009-11-29 12:09:31 +01:00
antirez 0b13687c25 more tests in test-redis.tcl, some minor fix 2009-11-29 10:29:08 +01:00
antirez 80181f7848 Implemented LIMIT option in ZRANGEBYSCORE. We now enter feature-freeze 2009-11-28 22:01:13 +01:00
antirez 03a37888f6 TODO updated 2009-11-28 18:19:48 +01:00
antirez 1c85b79fef INFO refactored. Stack trace on memory corruption now dumps the same information as the INFO command 2009-11-28 17:13:32 +01:00
antirez 1fd9bc8adc Changes to TODO list, commented a function in redis.c 2009-11-28 15:31:40 +01:00
antirez 2014c4377d TODO updated 2009-11-27 22:49:38 +01:00
antirez 9d65a1bbae log rebuilding, random refactoring, work in progress please wait for an OK commit before to use this version 2009-11-26 18:10:02 +01:00
antirez f284d963e7 minor TODO change 2009-11-24 13:47:26 +01:00
antirez 5b2a1c292a ae.c initial refactoring for epoll implementation 2009-11-23 12:00:23 +01:00
antirez c35f7d5b8d TODO aesthetic changes 2009-11-21 14:16:45 +01:00
antirez 7d65b33db7 TODO updated with plans up to 1.5 2009-11-21 14:13:50 +01:00
antirez 6cbfd2b3d9 SRANDMEMBER test 2009-11-21 13:56:17 +01:00
antirez 28173a49a7 SORT GET # implemented, with a test 2009-11-21 13:25:51 +01:00
antirez 5446315f29 EXPIREAT test 2009-11-21 11:15:12 +01:00
antirez b9febaab5d EXPIRE tests 2009-11-20 14:36:32 +01:00
antirez c08f173487 RPOPLPUSH tests added 2009-11-20 13:57:41 +01:00
antirez 7db723adb2 ZINCRSCOREBY => ZINCRBY 2009-11-20 09:18:40 +01:00
antirez 405b0a6aa5 Workaround for test-redis.tcl and Tcl 8.4.x about ZSCORE test 2009-11-11 23:42:31 +01:00
antirez fee803ba3e Removed a long time warning compiling with recent GCC on Linux 2009-11-11 19:59:54 +01:00
antirez a81885d9ea TODO updated 2009-11-11 19:01:52 +01:00
antirez 12f9d551b6 LPUSHPOP first implementation 2009-11-11 18:38:37 +01:00
antirez bcfc686db7 Tcl script, make target, and redis.c changes to build the static symbol table automagically 2009-11-10 19:20:32 +01:00
antirez bf75f580c9 Minor TODO change with new expiring algorithm description. New expiring algorithm moved since it'll go in 1.1 2009-11-10 02:02:30 +01:00
antirez eaa256ad25 ZSets double to string serialization fixed 2009-11-03 14:36:38 +01:00
antirez cdd140aa67 TODO updated again 2009-11-01 15:47:40 +01:00
antirez cf4a492cd2 TODO updated 2009-11-01 15:46:55 +01:00
antirez 443c6409c3 SORT STORE option 2009-11-01 15:29:38 +01:00
antirez 802e837373 EXPIREAT implemented, will be useful for the append-only mode 2009-10-30 00:15:45 +01:00
antirez f72b934d14 Fixed Issue 76 (redis-server crashes when it can't connect to MASTER and client connects to SLAVE) 2009-10-29 11:30:43 +01:00
antirez d13f767cf2 TODO changes and mostly theoretical minor skiplist change 2009-10-28 23:03:57 +01:00
antirez 23cff1a874 TODO reworked to reflect the real roadmap 2009-10-27 18:54:03 +01:00
antirez d7f43c081a A lot of ZSETs tests implemented, and a bug fixed thanks to this new tests 2009-10-27 18:31:12 +01:00
antirez 6e333bbee2 ZSCORE implemented 2009-10-27 01:06:49 +01:00
antirez 9b1d5ebbe4 TODO updated 2009-10-26 12:26:30 +01:00
antirez 1b7106e7db ZREM implemented 2009-10-26 12:04:42 +01:00
antirez cb7e07cc63 Fixed compilation in mac os x snow leopard when compiling a 32 bit binary. 2009-10-23 01:36:10 +02:00
antirez 2c65cbc9e3 TODO updated 2009-10-21 10:58:27 +02:00
antirez f6b141c57d MSET and MSETNX commands implemented 2009-10-16 13:44:25 +02:00
antirez 557a74e563 Latest doc changes for 1.0 2009-09-03 10:42:47 +02:00
antirez ae21a52926 TODO list modified 2009-08-11 03:00:50 +02:00
antirez df3fd8d88d Redis release candidate 1 2009-06-16 16:42:53 +02:00
antirez a3b21203d2 Better handling of background saving process killed or crashed 2009-06-16 16:42:20 +02:00
antirez c3cb078d46 number of keys info in INFO command thanks to Diego Rosario Brogna 2009-06-14 23:34:25 +02:00
antirez 644fafa383 max bytes in an inline command raised to 1024*1024 bytes, in order to allow for very large MGETs and still protect from client crashes 2009-06-10 00:02:08 +02:00
antirez 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
antirez a3cc9e36aa TODO updated 2009-06-06 10:00:12 +02:00
antirez dde65f3f3c added config.h for #ifdef business isolation, added fstat64 for Mac OS X 2009-06-05 10:50:51 +02:00
antirez ec93bba353 macosx specific zmalloc.c, uses malloc_size function in order to avoid to waste memory and time to put an additional header 2009-06-04 18:50:54 +02:00
antirez 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
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 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 321b0e13f6 SLAVEOF command implemented for replication remote control 2009-05-23 10:56:32 +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 3ba37089b5 command postprocessing implemented into RubyRedis 2009-05-21 13:22:20 +02:00
antirez d214bb4894 Aman Gupta changes merged 2009-05-20 10:44:08 +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
antirez 7407797596 Python client updated pushing from Ludo's repository 2009-05-11 13:50:09 +02:00
antirez 391b4a60a1 minor doc changes 2009-05-10 10:48:37 +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 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 f2923becc6 dict.c modified to be able to handle more than 150,000,000 keys 2009-04-30 14:48:02 +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 02fdd5ab4c GETSET command doc added 2009-04-28 16:33:35 +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 d68ed1201a INCRBY/DECRBY now support 64bit increments, with tests 2009-04-27 17:50:26 +02:00
antirez 3c910136c1 doc update 2009-04-21 00:33:34 +02:00