]> git.saurik.com Git - redis.git/commitdiff
evaluate cluster state after config load. Still bugs in the slot allocation after...
authorantirez <antirez@gmail.com>
Thu, 7 Apr 2011 21:23:27 +0000 (23:23 +0200)
committerantirez <antirez@gmail.com>
Thu, 7 Apr 2011 21:23:27 +0000 (23:23 +0200)
src/cluster.c

index 6a693d6e90491a1e6f3c845f7f64ccdaa194864f..2ea1b9cba69359685007d8ecf28604b85b781310 100644 (file)
@@ -134,6 +134,7 @@ int clusterLoadConfig(char *filename) {
     redisAssert(server.cluster.myself != NULL);
     redisLog(REDIS_NOTICE,"Node configuration loaded, I'm %.40s",
         server.cluster.myself->name);
+    clusterUpdateState();
     return REDIS_OK;
 
 fmterr: