Commit Graph

  • 173f9ae558 Cluster: Fix trib create when masters==replicas Matt Stancliff 2014-03-21 13:09:23 -04:00
  • df4bdbf688 Cluster: Fix trib create when masters==replicas Matt Stancliff 2014-03-21 13:09:23 -04:00
  • 9a42b149fd Fix infinite loop on startup if ulimit too low Matt Stancliff 2014-03-22 19:29:28 -04:00
  • 90b844212d Fix infinite loop on startup if ulimit too low Matt Stancliff 2014-03-22 19:29:28 -04:00
  • 60567b3fb6 Improve error handling around setting ulimits Matt Stancliff 2014-03-22 19:23:01 -04:00
  • 4a25983f8f Improve error handling around setting ulimits Matt Stancliff 2014-03-22 19:23:01 -04:00
  • d6d00dca10 Replace magic 32 with REDIS_EVENTLOOP_FDSET_INCR Matt Stancliff 2014-03-22 19:15:04 -04:00
  • 491532a713 Replace magic 32 with REDIS_EVENTLOOP_FDSET_INCR Matt Stancliff 2014-03-22 19:15:04 -04:00
  • b8247b4686 Fix maxclients error handling Matt Stancliff 2014-03-22 18:56:28 -04:00
  • c138631cd1 Fix maxclients error handling Matt Stancliff 2014-03-22 18:56:28 -04:00
  • d84c84f268 Sample and cache RSS in serverCron(). antirez 2014-03-24 12:00:20 +01:00
  • 93253c2762 Sample and cache RSS in serverCron(). antirez 2014-03-24 12:00:20 +01:00
  • e2c6bb0a2a sdscatvprintf(): Try to use a static buffer. antirez 2014-03-24 10:20:33 +01:00
  • 30639c8ca9 sdscatvprintf(): Try to use a static buffer. antirez 2014-03-24 10:20:33 +01:00
  • 982ca268a2 Cache uname() output across INFO calls. antirez 2014-03-24 10:00:08 +01:00
  • d3efe04c47 Cache uname() output across INFO calls. antirez 2014-03-24 10:00:08 +01:00
  • 57e4d0ca6b sdscatvprintf(): guess buflen using format length. antirez 2014-03-24 09:38:33 +01:00
  • a9caca0424 sdscatvprintf(): guess buflen using format length. antirez 2014-03-24 09:38:33 +01:00
  • 1e39792ba7 Add test-lru.rb to utils. antirez 2014-03-21 09:52:00 +01:00
  • 6972f18cbd Add test-lru.rb to utils. antirez 2014-03-21 09:52:00 +01:00
  • 7b50be26a9 Use getLRUClock() instead of server.lruclock to create objects. antirez 2014-03-21 09:08:08 +01:00
  • 4d2e8fa189 Use getLRUClock() instead of server.lruclock to create objects. antirez 2014-03-21 09:08:08 +01:00
  • 385bc5807e The default maxmemory policy is now noeviction. antirez 2014-03-21 08:03:30 +01:00
  • 5fa3248bad The default maxmemory policy is now noeviction. antirez 2014-03-21 08:03:30 +01:00
  • 1b6ddffbbf Fixed a few typos. Jan-Erik Rediger 2014-03-20 23:16:38 +01:00
  • 4fdd7a0546 Fixed a few typos. Jan-Erik Rediger 2014-03-20 23:16:38 +01:00
  • 40dc99ffd2 Use 24 bits for the lru object field and improve resolution. antirez 2014-03-20 17:56:27 +01:00
  • a98369929e Use 24 bits for the lru object field and improve resolution. antirez 2014-03-20 17:56:27 +01:00
  • c1c4fc292b Default LRU samples is now 5. antirez 2014-03-20 17:05:42 +01:00
  • f4da796c53 Default LRU samples is now 5. antirez 2014-03-20 17:05:42 +01:00
  • ac12b1c1db Use new dictGetRandomKeys() API to get samples for eviction. antirez 2014-03-20 16:52:12 +01:00
  • c641b670c3 Use new dictGetRandomKeys() API to get samples for eviction. antirez 2014-03-20 16:52:12 +01:00
  • 74f0696064 struct dictEntry -> dictEntry. antirez 2014-03-20 16:20:37 +01:00
  • 82b53c650c struct dictEntry -> dictEntry. antirez 2014-03-20 16:20:37 +01:00
  • 28573f8fe8 Added dictGetRandomKeys() to dict.c: mass get random entries. antirez 2014-03-20 15:50:46 +01:00
  • 5317f5e99a Added dictGetRandomKeys() to dict.c: mass get random entries. antirez 2014-03-20 15:50:46 +01:00
  • 1d1db42f20 LRU eviction pool implementation. antirez 2014-03-20 11:57:29 +01:00
  • 22c9cfaf57 LRU eviction pool implementation. antirez 2014-03-20 11:57:29 +01:00
  • f73fcf5a18 Fix OBJECT IDLETIME return value converting to seconds. antirez 2014-03-20 11:55:18 +01:00
  • 6d5790d682 Fix OBJECT IDLETIME return value converting to seconds. antirez 2014-03-20 11:55:18 +01:00
  • d7a2dd9f2e Obtain LRU clock in a resolution dependent way. antirez 2014-03-20 11:47:12 +01:00
  • ad6b0f70b2 Obtain LRU clock in a resolution dependent way. antirez 2014-03-20 11:47:12 +01:00
  • c847202e8b Specify lruclock in redisServer structure via REDIS_LRU_BITS. antirez 2014-03-20 11:36:56 +01:00
  • 1faf82663f Specify lruclock in redisServer structure via REDIS_LRU_BITS. antirez 2014-03-20 11:36:56 +01:00
  • 2f5a67dbca Specify LRU resolution in milliseconds. antirez 2014-03-20 11:33:25 +01:00
  • d77e231682 Specify LRU resolution in milliseconds. antirez 2014-03-20 11:33:25 +01:00
  • a8127d9fcb Set LRU parameters via REDIS_LRU_BITS define. antirez 2014-03-20 11:22:47 +01:00
  • fe30847016 Set LRU parameters via REDIS_LRU_BITS define. antirez 2014-03-20 11:22:47 +01:00
  • 624be01ff0 Unify stats reset for CONFIG RESETSTAT / initServer(). antirez 2014-03-19 12:55:49 +01:00
  • e150ec7d0c Unify stats reset for CONFIG RESETSTAT / initServer(). antirez 2014-03-19 12:55:49 +01:00
  • 2b5f60352a Cluster: remove variable causing warning Matt Stancliff 2014-03-18 15:35:09 -04:00
  • 67ed5f00aa Cluster: remove variable causing warning Matt Stancliff 2014-03-18 15:35:09 -04:00
  • 4bcedf006b Sentinel: sentinelRefreshInstanceInfo() minor refactoring. antirez 2014-03-18 15:35:47 +01:00
  • b9e90a70fa Sentinel: sentinelRefreshInstanceInfo() minor refactoring. antirez 2014-03-18 15:35:47 +01:00
  • ebdf5ddfa9 Sentinel test: 02 unit better coverage + refactoring. antirez 2014-03-18 15:18:51 +01:00
  • 258d377d8e Sentinel test: 02 unit better coverage + refactoring. antirez 2014-03-18 15:18:51 +01:00
  • c870142fca Sentinel test: foreach_instance_id implements 'break'. antirez 2014-03-18 15:06:52 +01:00
  • 58f104e2ee Sentinel test: foreach_instance_id implements 'break'. antirez 2014-03-18 15:06:52 +01:00
  • d9148d9fde Sentinel: instance_is_killed proc added to sentinel.tcl. antirez 2014-03-18 14:58:27 +01:00
  • 2586ea7637 Sentinel: instance_is_killed proc added to sentinel.tcl. antirez 2014-03-18 14:58:27 +01:00
  • edd99535a3 Sentinel: propagate down-after-ms changes to slaves and sentinels. antirez 2014-03-18 14:37:44 +01:00
  • 218cc5fc39 Sentinel: propagate down-after-ms changes to slaves and sentinels. antirez 2014-03-18 14:37:44 +01:00
  • d2107f42f7 Sentinel: down-after-milliseconds is not master-specific. antirez 2014-03-18 11:21:17 +01:00
  • bb6d850160 Sentinel: down-after-milliseconds is not master-specific. antirez 2014-03-18 11:21:17 +01:00
  • 832dfff34a Sentinel failure detection implementation improved. antirez 2014-03-17 17:20:44 +01:00
  • ae0b7680b3 Sentinel failure detection implementation improved. antirez 2014-03-17 17:20:44 +01:00
  • becda90be4 Sentinel: use CLIENT SETNAME when connecting to Redis. antirez 2014-03-15 14:59:23 +01:00
  • 3a2ff55617 Sentinel: use CLIENT SETNAME when connecting to Redis. antirez 2014-03-15 14:59:23 +01:00
  • 8858e0264b Finally fix the install_server.sh script. Jan-Erik Rediger 2014-03-15 14:43:50 +01:00
  • 2209d077d3 Finally fix the install_server.sh script. Jan-Erik Rediger 2014-03-15 14:43:50 +01:00
  • 9e8e818e20 Merge pull request #1608 from mattsta/fix-sentinel-current-epoch-segfault Salvatore Sanfilippo 2014-03-14 22:56:24 +01:00
  • c65b75e740 Merge pull request #1608 from mattsta/fix-sentinel-current-epoch-segfault Salvatore Sanfilippo 2014-03-14 22:56:24 +01:00
  • a371b2975b Fix segfault from accessing array out of bounds Matt Stancliff 2014-03-14 17:38:05 -04:00
  • 584052ee6b Fix segfault from accessing array out of bounds Matt Stancliff 2014-03-14 17:38:05 -04:00
  • 5b52765845 Sentinel: be safe under crash-recovery assumptions. antirez 2014-03-14 14:52:49 +01:00
  • ed813863f0 Sentinel: be safe under crash-recovery assumptions. antirez 2014-03-14 14:52:49 +01:00
  • 0e9801990f Sentinel: fake PUBLISH command to receive HELLO messages. antirez 2014-03-14 11:04:54 +01:00
  • 365094028b Sentinel: fake PUBLISH command to receive HELLO messages. antirez 2014-03-14 11:04:54 +01:00
  • 1dfeeceb87 Sentinel: HELLO processing refactored into sentinelProcessHelloMessage(). antirez 2014-03-14 10:56:44 +01:00
  • 9dfe426fc8 Sentinel: HELLO processing refactored into sentinelProcessHelloMessage(). antirez 2014-03-14 10:56:44 +01:00
  • b34fea52e2 Cluster: flag the transaction as dirty for the new redirections. antirez 2014-03-11 15:19:00 +01:00
  • 133fccb03f Cluster: flag the transaction as dirty for the new redirections. antirez 2014-03-11 15:19:00 +01:00
  • 8954da8136 Linenoise updated, multiline mode enabled in redis-cli. antirez 2014-03-13 15:11:08 +01:00
  • 429aff4ef4 Linenoise updated, multiline mode enabled in redis-cli. antirez 2014-03-13 15:11:08 +01:00
  • 18dafd646a redis-trib: call MIGRATE via r.client.call as fix for redis-rb API changes. antirez 2014-03-11 16:10:13 +01:00
  • cc11d103c0 redis-trib: call MIGRATE via r.client.call as fix for redis-rb API changes. antirez 2014-03-11 16:10:13 +01:00
  • 5604970426 redis-trib: new subcommand 'call'. Exec command in all nodes. antirez 2014-03-11 14:58:33 +01:00
  • df32eb6827 redis-trib: new subcommand 'call'. Exec command in all nodes. antirez 2014-03-11 14:58:33 +01:00
  • 15ef91eb7b redis-trib: create subcommand is now able to assign spare slaves. antirez 2014-03-11 14:17:28 +01:00
  • 2e5c394fa8 redis-trib: create subcommand is now able to assign spare slaves. antirez 2014-03-11 14:17:28 +01:00
  • 274573d489 Cluster: update node configEpoch on UPDATE messages. antirez 2014-03-11 11:53:09 +01:00
  • e26f4486b0 Cluster: update node configEpoch on UPDATE messages. antirez 2014-03-11 11:53:09 +01:00
  • 7c07fa63c0 Cluster: set slot error if we receive an update for a busy slot. antirez 2014-03-11 11:49:47 +01:00
  • a2ff90919f Cluster: set slot error if we receive an update for a busy slot. antirez 2014-03-11 11:49:47 +01:00
  • 614800dc0d Cluster: clarified a comment in clusterUpdateSlotsConfigWith(). antirez 2014-03-11 11:32:40 +01:00
  • 1ed0ad77f0 Cluster: clarified a comment in clusterUpdateSlotsConfigWith(). antirez 2014-03-11 11:32:40 +01:00
  • 062d865c54 Cluster: flush importing/migrating state when master is turned into slave. antirez 2014-03-11 11:22:06 +01:00
  • 8287945ff8 Cluster: flush importing/migrating state when master is turned into slave. antirez 2014-03-11 11:22:06 +01:00
  • 7f8e78732a Cluster: clusterCloseAllSlots() added. antirez 2014-03-11 11:16:18 +01:00
  • 2e8e0ad44e Cluster: clusterCloseAllSlots() added. antirez 2014-03-11 11:16:18 +01:00