Commit Graph

  • bc96545c6d Function to compute RSS memory usage in a fast way, suitable to be called inside keys eviction loops antirez 2010-11-02 11:40:35 +01:00
  • 7d47ecd543 Function to compute RSS memory usage in a fast way, suitable to be called inside keys eviction loops antirez 2010-11-02 11:40:35 +01:00
  • 82105585b2 removed a number of stupid compilation warnings on Linux antirez 2010-11-02 11:15:09 +01:00
  • 10c12171cc removed a number of stupid compilation warnings on Linux antirez 2010-11-02 11:15:09 +01:00
  • 4e0d189300 zmalloc functions to get RSS and fragmentation refactored into two separated functions antirez 2010-11-02 10:51:09 +01:00
  • 92e282288f zmalloc functions to get RSS and fragmentation refactored into two separated functions antirez 2010-11-02 10:51:09 +01:00
  • f6b6fda9e4 merge conflict resolved antirez 2010-10-28 22:59:47 +02:00
  • 21dbc6499a merge conflict resolved antirez 2010-10-28 22:59:47 +02:00
  • 142fedcf37 Rewrite comment that was no longer valid Pieter Noordhuis 2010-10-28 16:59:05 +01:00
  • 4794d88f15 Rewrite comment that was no longer valid Pieter Noordhuis 2010-10-28 16:59:05 +01:00
  • abba73b7c0 When REDIS_CLOSE_AFTER_REPLY is set, there may never be new replies Pieter Noordhuis 2010-10-28 16:52:16 +01:00
  • a3a323e0e5 When REDIS_CLOSE_AFTER_REPLY is set, there may never be new replies Pieter Noordhuis 2010-10-28 16:52:16 +01:00
  • 72bd886c36 Unify two client flags that mean the same Pieter Noordhuis 2010-10-28 15:07:45 +01:00
  • 5e78edb350 Unify two client flags that mean the same Pieter Noordhuis 2010-10-28 15:07:45 +01:00
  • 7c64c6168b Merge remote branch 'remotes/pietern/zrevrangebyscore' antirez 2010-10-28 14:12:25 +02:00
  • 73abd0a9d2 Merge remote branch 'remotes/pietern/zrevrangebyscore' antirez 2010-10-28 14:12:25 +02:00
  • 93d2466d19 removed useless spaces from DEBUG OBJECT output antirez 2010-10-27 17:11:17 +02:00
  • 1de98301f6 removed useless spaces from DEBUG OBJECT output antirez 2010-10-27 17:11:17 +02:00
  • be8c4af304 Return error to client on wrong type for HMGET Pieter Noordhuis 2010-10-26 12:26:27 +02:00
  • e584d82fec Return error to client on wrong type for HMGET Pieter Noordhuis 2010-10-26 12:26:27 +02:00
  • 98dd9e1699 added a missing prototype from syncio.c in redis.h antirez 2010-10-25 10:54:37 +02:00
  • 244201f6ba added a missing prototype from syncio.c in redis.h antirez 2010-10-25 10:54:37 +02:00
  • 64a61269df more generally usable i/o functions moved to syncio.c antirez 2010-10-25 10:49:15 +02:00
  • d08fac3eb9 more generally usable i/o functions moved to syncio.c antirez 2010-10-25 10:49:15 +02:00
  • db874d3c9a synchronous I/O networking functions originally used just for replication refactored in a file as generally useful, they are used in the cluster branch for MIGRATE. antirez 2010-10-24 16:22:52 +02:00
  • 19e61097c5 synchronous I/O networking functions originally used just for replication refactored in a file as generally useful, they are used in the cluster branch for MIGRATE. antirez 2010-10-24 16:22:52 +02:00
  • c2d7ac73e0 Exclusively use either tcmalloc or OSX's native malloc_size() Pieter Noordhuis 2010-10-23 10:18:48 +02:00
  • d94ac406ba Exclusively use either tcmalloc or OSX's native malloc_size() Pieter Noordhuis 2010-10-23 10:18:48 +02:00
  • 4e16ffcbb2 Don't use prefix when malloc_size() can be called Pieter Noordhuis 2010-10-23 09:59:28 +02:00
  • 7cdc98b630 Don't use prefix when malloc_size() can be called Pieter Noordhuis 2010-10-23 09:59:28 +02:00
  • a16fba68d1 Make sure to reset the signal handler and deliver again the original crashing signal when dumping the stack trace. This will allow to dump the core if core dumping is enabled. antirez 2010-10-22 23:30:48 +02:00
  • da47440d44 Make sure to reset the signal handler and deliver again the original crashing signal when dumping the stack trace. This will allow to dump the core if core dumping is enabled. antirez 2010-10-22 23:30:48 +02:00
  • ea70b63528 if server.saveparamslen is not set, don't save the DB on exit. Robey Pointer 2010-09-30 11:53:34 -07:00
  • d8a717fb1a if server.saveparamslen is not set, don't save the DB on exit. Robey Pointer 2010-09-30 11:53:34 -07:00
  • 49cf03e61e README more specific about tcmalloc space benefits antirez 2010-10-22 00:18:26 +02:00
  • fc41345116 README more specific about tcmalloc space benefits antirez 2010-10-22 00:18:26 +02:00
  • 072f559c69 Makefile typo fixed for tcmalloc option antirez 2010-10-22 00:16:32 +02:00
  • 1a587ff843 Makefile typo fixed for tcmalloc option antirez 2010-10-22 00:16:32 +02:00
  • 88be537ec2 reports if tcmalloc is in used in INFO output antirez 2010-10-22 00:10:17 +02:00
  • 13b3715925 reports if tcmalloc is in used in INFO output antirez 2010-10-22 00:10:17 +02:00
  • 927cbe3c5d support for compiling with tcmalloc antirez 2010-10-22 00:06:44 +02:00
  • 0a802bd7a0 support for compiling with tcmalloc antirez 2010-10-22 00:06:44 +02:00
  • afdb946851 version bumped to 2.1.5 antirez 2010-10-21 17:55:44 +02:00
  • 75fcab8c23 version bumped to 2.1.5 antirez 2010-10-21 17:55:44 +02:00
  • 3675200982 Skip object encoding where it doesn't make sense Pieter Noordhuis 2010-10-17 18:09:23 +02:00
  • a375b077cc Skip object encoding where it doesn't make sense Pieter Noordhuis 2010-10-17 18:09:23 +02:00
  • dd0a3b1633 Object encoding in hash function is done by a more specific function Pieter Noordhuis 2010-10-17 17:46:55 +02:00
  • 19408d83a4 Object encoding in hash function is done by a more specific function Pieter Noordhuis 2010-10-17 17:46:55 +02:00
  • b9accd41ec Removed unused command flags Pieter Noordhuis 2010-10-17 17:31:40 +02:00
  • 33aba595b0 Removed unused command flags Pieter Noordhuis 2010-10-17 17:31:40 +02:00
  • 000b46faac Convert objects in the command procs instead of the protocol code Pieter Noordhuis 2010-10-17 17:21:41 +02:00
  • 75b41de8ca Convert objects in the command procs instead of the protocol code Pieter Noordhuis 2010-10-17 17:21:41 +02:00
  • 1b6e1467d5 Prevent clients from making too large multibulk requests Pieter Noordhuis 2010-10-15 19:15:38 +02:00
  • b19c33d48a Prevent clients from making too large multibulk requests Pieter Noordhuis 2010-10-15 19:15:38 +02:00
  • 01797ad67a Add benchmark for MSET Pieter Noordhuis 2010-10-15 18:17:06 +02:00
  • ea5b70924d Add benchmark for MSET Pieter Noordhuis 2010-10-15 18:17:06 +02:00
  • 624eb51b92 prevent small integer sharing when maxmemory is active. So every object will use a private LRU field and the LRU algorithm can work well antirez 2010-10-15 18:04:05 +02:00
  • 13a49af44b prevent small integer sharing when maxmemory is active. So every object will use a private LRU field and the LRU algorithm can work well antirez 2010-10-15 18:04:05 +02:00
  • ff50d2621e Change protocol from bulk to inline in redis-benchmark Pieter Noordhuis 2010-10-15 17:34:20 +02:00
  • 1aa608fc68 Change protocol from bulk to inline in redis-benchmark Pieter Noordhuis 2010-10-15 17:34:20 +02:00
  • c5a32adaed Don't reset the client when processCommand returns REDIS_ERR Pieter Noordhuis 2010-10-15 17:27:05 +02:00
  • 9da6caac4e Don't reset the client when processCommand returns REDIS_ERR Pieter Noordhuis 2010-10-15 17:27:05 +02:00
  • 9ddc6fded8 Change tests to use either the inline or the multibulk protocol Pieter Noordhuis 2010-10-15 17:25:20 +02:00
  • dc11daf3b5 Change tests to use either the inline or the multibulk protocol Pieter Noordhuis 2010-10-15 17:25:20 +02:00
  • 4865ad620b Show output of leaks command on a leak Pieter Noordhuis 2010-10-15 15:56:16 +02:00
  • 5b12b47df9 Show output of leaks command on a leak Pieter Noordhuis 2010-10-15 15:56:16 +02:00
  • a2459dd4e7 Change tcl client to only use the multibulk protocol Pieter Noordhuis 2010-10-15 15:50:29 +02:00
  • 00cf82c0bd Change tcl client to only use the multibulk protocol Pieter Noordhuis 2010-10-15 15:50:29 +02:00
  • 0448515c58 Refactor request parsing code for efficiency Pieter Noordhuis 2010-10-15 15:40:25 +02:00
  • cd8788f26d Refactor request parsing code for efficiency Pieter Noordhuis 2010-10-15 15:40:25 +02:00
  • 0d4eb0937e Add tests for OK on QUIT Pieter Noordhuis 2010-10-15 12:54:53 +02:00
  • 5a4f9f27e7 Add tests for OK on QUIT Pieter Noordhuis 2010-10-15 12:54:53 +02:00
  • db2e9181be CONFIG RESETSTAT no longer resets the server uptime. Now keyspace hits/misses are reset as well. antirez 2010-10-15 12:29:05 +02:00
  • 9f8ded8ced CONFIG RESETSTAT no longer resets the server uptime. Now keyspace hits/misses are reset as well. antirez 2010-10-15 12:29:05 +02:00
  • c69dbab8ac minor aesthetic change antirez 2010-10-15 12:22:48 +02:00
  • 95506e4611 minor aesthetic change antirez 2010-10-15 12:22:48 +02:00
  • 99fef368e7 added keyspace_hits and keyspace_misses fields in INFO output antirez 2010-10-15 12:19:21 +02:00
  • 53eeeaff08 added keyspace_hits and keyspace_misses fields in INFO output antirez 2010-10-15 12:19:21 +02:00
  • dad521b88d maxmemory-samples implemented in CONFIG command and configuration file antirez 2010-10-15 11:57:38 +02:00
  • a36879293d maxmemory-samples implemented in CONFIG command and configuration file antirez 2010-10-15 11:57:38 +02:00
  • 4022964d64 Don't increment dirty on expireIfNeeded() as natural expires are not considered database changes. This will avoid useless read-only commands in the AOF file as a result of, for instance, a GET operation triggering an expirIfNeeded() call resulting in an expired key removed. antirez 2010-10-15 11:29:03 +02:00
  • 670bf2fd36 Don't increment dirty on expireIfNeeded() as natural expires are not considered database changes. This will avoid useless read-only commands in the AOF file as a result of, for instance, a GET operation triggering an expirIfNeeded() call resulting in an expired key removed. antirez 2010-10-15 11:29:03 +02:00
  • a436312c2c Merge remote branch 'pietern/ziplist-regression' antirez 2010-10-14 21:23:01 +02:00
  • b33ef40105 Merge remote branch 'pietern/ziplist-regression' antirez 2010-10-14 21:23:01 +02:00
  • 25967801ea implemented different algorithms for maxmemory antirez 2010-10-14 21:22:21 +02:00
  • 165346ca29 implemented different algorithms for maxmemory antirez 2010-10-14 21:22:21 +02:00
  • d53a991b11 Replace ziplist stresser and fix regression Pieter Noordhuis 2010-10-14 21:11:42 +02:00
  • 306c6a02e3 Replace ziplist stresser and fix regression Pieter Noordhuis 2010-10-14 21:11:42 +02:00
  • 4c1af00e16 Object approximated LRU algorithm enhanced / fixed / refactored. This is used for the VM currently but will soon be used for maxmemory expiring. antirez 2010-10-14 13:52:58 +02:00
  • ef59a8bc9e Object approximated LRU algorithm enhanced / fixed / refactored. This is used for the VM currently but will soon be used for maxmemory expiring. antirez 2010-10-14 13:52:58 +02:00
  • 4bd7afa4d2 Return error when min and/or max in the sorted set range spec is not a double Pieter Noordhuis 2010-10-13 21:58:21 +02:00
  • 7236fdb22f Return error when min and/or max in the sorted set range spec is not a double Pieter Noordhuis 2010-10-13 21:58:21 +02:00
  • ce0eab01d5 Make ZREMRANGEBYSCORE accept the same range spec as ZRANGEBYSCORE Pieter Noordhuis 2010-10-13 21:43:58 +02:00
  • 91504b6cbe Make ZREMRANGEBYSCORE accept the same range spec as ZRANGEBYSCORE Pieter Noordhuis 2010-10-13 21:43:58 +02:00
  • b18811fd90 Merge branch 'master' into zrevrangebyscore Pieter Noordhuis 2010-10-13 20:29:50 +02:00
  • 26f3388d27 Merge branch 'master' into zrevrangebyscore Pieter Noordhuis 2010-10-13 20:29:50 +02:00
  • 4158de4e63 Merge master with resolved conflict in src/redis-cli.c Pieter Noordhuis 2010-10-13 18:55:46 +02:00
  • b04ce2a35c Merge master with resolved conflict in src/redis-cli.c Pieter Noordhuis 2010-10-13 18:55:46 +02:00
  • 4fe83b554a sockaddr_un.sun_path appears to never hold anything after accept() Pieter Noordhuis 2010-10-13 18:50:07 +02:00
  • ab17b909fe Use different accept handlers for TCP and unix socket connections Pieter Noordhuis 2010-10-13 18:34:24 +02:00