Cluster: slave node now uses the new protocol to get elected.

This commit is contained in:
antirez
2013-09-26 11:13:17 +02:00
parent 656c3ffe4a
commit fb9b76fe14
3 changed files with 48 additions and 17 deletions

View File

@ -43,8 +43,6 @@ extern char **environ;
/* ======================== Sentinel global state =========================== */
typedef long long mstime_t; /* millisecond time type. */
/* Address object, used to describe an ip:port pair. */
typedef struct sentinelAddr {
char *ip;