Commit Graph

  • 95f0799010 Cluster: use 'else if' for mutually exclusive conditionals. antirez 2013-03-13 17:27:06 +01:00
  • 66144337bf Cluster: use 'else if' for mutually exclusive conditionals. antirez 2013-03-13 17:27:06 +01:00
  • 444fd457d2 Cluster: FAILOVER_AUTH_REQUEST message type introduced. antirez 2013-03-13 17:21:20 +01:00
  • db7c17e969 Cluster: FAILOVER_AUTH_REQUEST message type introduced. antirez 2013-03-13 17:21:20 +01:00
  • 80158107bd Cluster: clusterHandleSlaveFailover() stub. antirez 2013-03-13 13:10:49 +01:00
  • 575cbc9990 Cluster: clusterHandleSlaveFailover() stub. antirez 2013-03-13 13:10:49 +01:00
  • dab342a215 Replication: master_link_down_since_seconds initial value should be huge. antirez 2013-03-13 12:51:10 +01:00
  • 1902a9c532 Replication: master_link_down_since_seconds initial value should be huge. antirez 2013-03-13 12:51:10 +01:00
  • d1d1f6cad4 Cluster: call clusterHandleSlaveFailover() when our master is down. antirez 2013-03-13 12:44:02 +01:00
  • 3d448bda39 Cluster: call clusterHandleSlaveFailover() when our master is down. antirez 2013-03-13 12:44:02 +01:00
  • dec5a0bde9 Test: make sure broken RDB checksum is detected. antirez 2013-03-13 11:12:45 +01:00
  • ae94fe7e48 Test: make sure broken RDB checksum is detected. antirez 2013-03-13 11:12:45 +01:00
  • d42f82488d Test: more RDB loading checks. antirez 2013-03-13 10:04:33 +01:00
  • 82b0eae690 Test: more RDB loading checks. antirez 2013-03-13 10:04:33 +01:00
  • 7614cf793d Test: check that Redis starts empty without an RDB file. antirez 2013-03-12 19:55:33 +01:00
  • 0b74a85678 Test: check that Redis starts empty without an RDB file. antirez 2013-03-12 19:55:33 +01:00
  • 306dfee10d rdbLoad(): rework code to save vertical space. antirez 2013-03-12 19:46:33 +01:00
  • 79a6844e44 rdbLoad(): rework code to save vertical space. antirez 2013-03-12 19:46:33 +01:00
  • 1e1afe05ed Merge pull request #1001 from djanowski/fatal-errors-rdb-load Salvatore Sanfilippo 2013-03-12 11:40:36 -07:00
  • 9925c7c670 Merge pull request #1001 from djanowski/fatal-errors-rdb-load Salvatore Sanfilippo 2013-03-12 11:40:36 -07:00
  • cce75561a0 Abort when opening the RDB file results in an error other than ENOENT. Damian Janowski 2013-03-12 14:37:50 -03:00
  • 4178a80282 Abort when opening the RDB file results in an error other than ENOENT. Damian Janowski 2013-03-12 14:37:50 -03:00
  • 3ff21be010 Set default for stop_writes_on_bgsave_err in initServerConfig(). antirez 2013-03-12 18:34:08 +01:00
  • 215bfaea16 Set default for stop_writes_on_bgsave_err in initServerConfig(). antirez 2013-03-12 18:34:08 +01:00
  • 2e0f6a0a0c redis-cli --bigkeys: don't crash with empty DBs. antirez 2013-03-12 09:57:49 +01:00
  • 91d3b487e7 redis-cli --bigkeys: don't crash with empty DBs. antirez 2013-03-12 09:57:49 +01:00
  • 87ff41b306 activeExpireCycle() smarter with many DBs and under expire pressure. antirez 2013-03-11 11:10:33 +01:00
  • 2d851333a6 activeExpireCycle() smarter with many DBs and under expire pressure. antirez 2013-03-11 11:10:33 +01:00
  • 667aaa6469 In databasesCron() never test more DBs than we have. antirez 2013-03-11 10:51:03 +01:00
  • 08b107e405 In databasesCron() never test more DBs than we have. antirez 2013-03-11 10:51:03 +01:00
  • 289f6d5d2b Make comment name match var name in activeExpireCycle(). antirez 2013-03-11 10:42:14 +01:00
  • 4b1ccdfd49 Make comment name match var name in activeExpireCycle(). antirez 2013-03-11 10:42:14 +01:00
  • 05f0492a03 Optimize inner loop of activeExpireCycle() for no-expires case. antirez 2013-03-09 11:48:54 +01:00
  • 1f7d2c1e27 Optimize inner loop of activeExpireCycle() for no-expires case. antirez 2013-03-09 11:48:54 +01:00
  • dc1e158648 REDIS_DBCRON_DBS_PER_SEC -> REDIS_DBCRON_DBS_PER_CALL antirez 2013-03-09 11:44:20 +01:00
  • 5f5aa487f9 REDIS_DBCRON_DBS_PER_SEC -> REDIS_DBCRON_DBS_PER_CALL antirez 2013-03-09 11:44:20 +01:00
  • af9463ceaf activeExpireCycle(): process only a small number of DBs per iteration. antirez 2013-03-08 17:48:58 +01:00
  • db29d71a30 activeExpireCycle(): process only a small number of DBs per iteration. antirez 2013-03-08 17:48:58 +01:00
  • c77e24aab9 Use unsigned integers for DB ids, for defined wrap-to-zero. antirez 2013-03-08 17:41:20 +01:00
  • 40a2da159c Use unsigned integers for DB ids, for defined wrap-to-zero. antirez 2013-03-08 17:41:20 +01:00
  • 51c65e01ea Only resize/rehash a few databases per cron iteration. antirez 2013-03-08 14:01:12 +01:00
  • 7ac3b3a486 Only resize/rehash a few databases per cron iteration. antirez 2013-03-08 14:01:12 +01:00
  • 3f75c20dac Actually call databasesCron() inside serverCron(). antirez 2013-03-08 13:59:50 +01:00
  • dfd732dff3 Actually call databasesCron() inside serverCron(). antirez 2013-03-08 13:59:50 +01:00
  • 3bd3c5303e Move Redis databases background processing to databasesCron(). antirez 2013-03-08 11:54:33 +01:00
  • cd9dcd1835 Move Redis databases background processing to databasesCron(). antirez 2013-03-08 11:54:33 +01:00
  • bb4fef5a5a Cluster: update cluster state on PFAIL flag set/cleared on nodes. antirez 2013-03-07 15:40:53 +01:00
  • f0b807cd47 Cluster: update cluster state on PFAIL flag set/cleared on nodes. antirez 2013-03-07 15:40:53 +01:00
  • 75e7bb8fd5 Cluster: mark cluster state as fail of majority of masters is unreachable. antirez 2013-03-07 15:36:59 +01:00
  • 299b8f76c2 Cluster: mark cluster state as fail of majority of masters is unreachable. antirez 2013-03-07 15:36:59 +01:00
  • ca207a1fae Cluster: log global cluster state change. antirez 2013-03-07 15:22:32 +01:00
  • abf06fd5ff Cluster: log global cluster state change. antirez 2013-03-07 15:22:32 +01:00
  • 311f9d5164 Cluster: clusterUpdateState() function simplified. antirez 2013-03-06 18:24:43 +01:00
  • 3dad8196b7 Cluster: clusterUpdateState() function simplified. antirez 2013-03-06 18:24:43 +01:00
  • d84fcc9393 Removed useless "return" statements in pubsub.c Gengliang Wang 2013-03-05 00:47:05 +08:00
  • 042ed270c8 Removed useless "return" statements in pubsub.c Gengliang Wang 2013-03-05 00:47:05 +08:00
  • 9076bf9d4b API to lookup commands with their original name. antirez 2013-03-06 16:28:26 +01:00
  • 7b190a08cf API to lookup commands with their original name. antirez 2013-03-06 16:28:26 +01:00
  • 28112be120 Add a warning about command renaming in redis.conf. antirez 2013-03-06 15:47:16 +01:00
  • 4d62912619 Add a warning about command renaming in redis.conf. antirez 2013-03-06 15:47:16 +01:00
  • adb45867b8 Handle a non-impossible empty argv in loadServerConfigFromString(). antirez 2013-03-06 12:40:48 +01:00
  • bfa25441e7 Handle a non-impossible empty argv in loadServerConfigFromString(). antirez 2013-03-06 12:40:48 +01:00
  • 987c4c9567 redis-cli: use sdsfreesplitres() instead of hand-coding it. antirez 2013-03-06 12:38:32 +01:00
  • 8c193af696 redis-cli: use sdsfreesplitres() instead of hand-coding it. antirez 2013-03-06 12:38:32 +01:00
  • 72b16ffa96 Cluster: sdssplitargs_free() -> sdsfreesplitres(). antirez 2013-03-06 12:36:07 +01:00
  • 011fa89ac9 Cluster: sdssplitargs_free() -> sdsfreesplitres(). antirez 2013-03-06 12:36:07 +01:00
  • 478915f6c7 sds.c: sdssplitargs_free() removed as it was a duplicate. antirez 2013-03-06 12:34:43 +01:00
  • 729a3432ba sds.c: sdssplitargs_free() removed as it was a duplicate. antirez 2013-03-06 12:34:43 +01:00
  • 6154351fe5 More specific error message in loadServerConfigFromString(). antirez 2013-03-06 12:24:12 +01:00
  • cf4d7737bb More specific error message in loadServerConfigFromString(). antirez 2013-03-06 12:24:12 +01:00
  • 4b0a5fc539 sdssplitargs(): on error set *argc to 0. antirez 2013-03-06 12:19:38 +01:00
  • 4ea89e64c0 sdssplitargs(): on error set *argc to 0. antirez 2013-03-06 12:19:38 +01:00
  • 67b7fcdc08 sdssplitargs(): now returns NULL only on error. antirez 2013-03-06 12:14:42 +01:00
  • 5cabae84e6 sdssplitargs(): now returns NULL only on error. antirez 2013-03-06 12:14:42 +01:00
  • 4cd96af089 Don't segfault on unbalanced quotes. charsyam 2013-02-05 21:47:14 -08:00
  • 1303f02be6 Don't segfault on unbalanced quotes. charsyam 2013-02-05 21:47:14 -08:00
  • dfab43fbbf Allow AUTH while loading the DB in memory. antirez 2013-03-06 11:50:38 +01:00
  • 304ef5e283 Allow AUTH while loading the DB in memory. antirez 2013-03-06 11:50:38 +01:00
  • a0f2b39791 Cluster: connect to our master ASAP after startup if we are a slave node. antirez 2013-03-05 16:12:08 +01:00
  • 1025dd7786 Cluster: connect to our master ASAP after startup if we are a slave node. antirez 2013-03-05 16:12:08 +01:00
  • 856a3160a9 Cluster: more robust FAIL flag cleaup. antirez 2013-03-05 15:05:32 +01:00
  • bac57ad14b Cluster: more robust FAIL flag cleaup. antirez 2013-03-05 15:05:32 +01:00
  • 24aa7a566e Cluster: new node field fail_time. antirez 2013-03-05 13:15:05 +01:00
  • 1a02b7440a Cluster: new node field fail_time. antirez 2013-03-05 13:15:05 +01:00
  • 61885aa646 Cluster: don't check keys hash slots when the source is our master. antirez 2013-03-05 13:02:44 +01:00
  • d3b4662347 Cluster: don't check keys hash slots when the source is our master. antirez 2013-03-05 13:02:44 +01:00
  • 2c63db3b93 Cluster: slaveof not allowed in redis.conf as well. antirez 2013-03-05 12:58:22 +01:00
  • 31ac376051 Cluster: slaveof not allowed in redis.conf as well. antirez 2013-03-05 12:58:22 +01:00
  • 39c5f8a615 Cluster: SLAVEOF command not allowed in cluster mode. antirez 2013-03-05 12:39:11 +01:00
  • b7d085fc0d Cluster: SLAVEOF command not allowed in cluster mode. antirez 2013-03-05 12:39:11 +01:00
  • a06092c576 Cluster: A comment updated in clusterCron(). antirez 2013-03-05 12:17:30 +01:00
  • e4b481a5f6 Cluster: A comment updated in clusterCron(). antirez 2013-03-05 12:17:30 +01:00
  • de720e4f0a Cluster: send a ping to every node we never contacted in timeout/2 seconds. antirez 2013-03-05 12:13:39 +01:00
  • d728ec6dee Cluster: send a ping to every node we never contacted in timeout/2 seconds. antirez 2013-03-05 12:13:39 +01:00
  • 401893bc38 Cluster: set node->slaveof correctly when a node state is updated. antirez 2013-03-05 11:50:11 +01:00
  • e7628be2a7 Cluster: set node->slaveof correctly when a node state is updated. antirez 2013-03-05 11:50:11 +01:00
  • 8eb9c13dcf Cluster: don't perform startup slots sanity check for slaves. antirez 2013-03-04 19:47:00 +01:00
  • d6457577d4 Cluster: don't perform startup slots sanity check for slaves. antirez 2013-03-04 19:47:00 +01:00
  • 63cac938b3 Cluster: fix maximum line length when loading config. antirez 2013-03-04 19:45:36 +01:00
  • d334897e80 Cluster: fix maximum line length when loading config. antirez 2013-03-04 19:45:36 +01:00