]> git.saurik.com Git - redis.git/blobdiff - src/redis.h
Minor changes in non-blocking repl. connect
[redis.git] / src / redis.h
index d6b99cea196b59df6802cdd7487933633de785b1..19f0b516de3353a1b302f42184a16d1d8b5dc0ae 100644 (file)
 /* Slave replication state - slave side */
 #define REDIS_REPL_NONE 0 /* No active replication */
 #define REDIS_REPL_CONNECT 1 /* Must connect to master */
-#define REDIS_REPL_TRANSFER 2 /* Receiving .rdb from master */
-#define REDIS_REPL_CONNECTED 3 /* Connected to master */
-#define REDIS_REPL_CONNECTING 4 /* Connecting to master */
+#define REDIS_REPL_CONNECTING 2 /* Connecting to master */
+#define REDIS_REPL_TRANSFER 3 /* Receiving .rdb from master */
+#define REDIS_REPL_CONNECTED 4 /* Connected to master */
 
 /* Slave replication state - from the point of view of master
  * Note that in SEND_BULK and ONLINE state the slave receives new updates