Sentinel: epoch introduced.
Sentinel: epoch introduced.

Sentinel state now includes the idea of current epoch and config epoch.
In the Hello message, that is now published both on masters and slaves,
a Sentinel no longer just advertises itself but also broadcasts its
current view of the configuration: the master name / ip / port and its
current epoch.

Sentinels receiving such information switch to the new master if the
configuration epoch received is newer and the ip / port of the master
are indeed different compared to the previos ones.

zhcy/redis,clamoriniere1A/redis,csuhawk/redis,moonbingbing/redis-3.0-annotated,sunheehnus/redis,wprice/redis,arijitvt/redis,fengshao0907/redis-3.0-annotated,z-fork/redis,ttuna/msot-redis,drinkthere/redis-3.0-annotated,ouyangkongtong/redis,splitice/redis,tellapart/redis,programmecat/redis,citusdata/redis,josiahcarlson/redis,ttuna/msot-redis,elkingtonmcb/redis,charsyam/redis,pmem/redis,july2993/redis,josiahcarlson/redis,nuxeh/redis,sunlianqiang/redis-3.0-annotated,allengaller/redis,elkingtonmcb/redis,oranagra/redis,jackyan/redis,YuraLukashik/redis,OmarQunsul/graph-redis,vincent-vivian-liu/redis,ituncle/redis,xlzhan/redis,wprice/redis,nnog/redis,gilala/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,simplestbest/redis,gilala/hredis,seppo0010/redis,hornen/redis,xlzhan/redis,kensou97/redis,ksarch-saas/redis,spearhead-ea/redis,valdsJohn/redis,miaoyc1989/redis-3.0-annotated,seppo0010/rlite-server,ramonsnir/redis,shreesundara/redis,weizijun/redis,universsky/redis,yybirdcf/learn-redis,cloudrain21/redis,RepmujNetsik/redis,Sciumo/redis,MSOpenTech/redis,GitHubMota/redis,badboy/redis,jacklee0810/redis-3.0-annotated,supasate/redis,takeshineshiro/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,shreesundara/redis,zhaobo1023/redis-3.0-annotated,0x55/redis-3.0-annotated,mcanthony/redis,dayuoba/redis,jasonkying/redis,mingyaaaa/redis,mingyaaaa/redis,hornen/redis,MOON-CLJ/redis,ramonsnir/redis,zhaobo1023/redis-3.0-annotated,miaoyc1989/redis-3.0-annotated,idning/redis,jbochi/parallel_redis,MasahikoSawada/redis,gilala/hbjredis,JoeWoo/redis,ncopa/redis,seandsky/redis,mingyaaaa/redis,HunanTV/redis,timothyohare/3rdPartySrc-redis,ituncle/redis,z-fork/redis,thomasdarimont/redis,gongice/redis-3.0-annotated,Markgorden/redis,AplayER/redis,izhoujie/redis,cusspvz/redis,magastzheng/redis-3.0-annotated,francischan714/redis,universsky/redis,seppo0010/rlite-server,fankeke/redis-3.0-annotated,wangyikai/redis,j0hnma/hszredis,itugs/redis,ton31337/redis,rouzier/redis,tjschuck/redis,mgk/redis,magastzheng/redis-3.0-annotated,mattsta/redis,wprice/redis,pkdevbox/redis,zczhuohuo/redis,yuzhangjob/redis-3.0-annotated-unstable,rrsean/redis-3.0-annotated,oranagra/redis,arijitvt/redis,zguangyu/redis,PKRoma/redis,mengzhejin/RedisStudy,GrimDerp/redis,nnog/redis,linfangrong/redis,190235047/redis,mumingv/redis,splitice/redis,j0hnma/hszredis,davidradunz/redis,itamarhaber/redis,cnbin/redis,twskipper/redis,wbailey5/redis,HeartSaVioR/redis,tjschuck/redis,linfangrong/redis,mattsta/redis,rogerlz/redis,zguangyu/redis,duanx/redis,wuyu201321060203/redis-3.0-annotated,nnog/redis,linfangrong/redis,supasate/redis,holstvoogd/redis,aim-for-better/redis,dongqifan2/redis-3.0-annotated,kaushik94/redis,yossigo/redis,ksarch-saas/redis,antirez/redis,ReadCode/redis-3.0-annotated,nuxeh/redis,alenslan/redis,jbochi/parallel_redis,darksideofthemoo/redis-histogram,OmarQunsul/graph-redis,cnbin/redis,dreamquster/redis,j0hnma/szredis,NBSW/redis,msn217/redis-3.0-annotated,programmecat/redis,zczhuohuo/redis,mengzhejin/RedisStudy,xuzhezhaozhao/redis_reading,xuguruogu/redis,jxwr/redis,flashbuckets/redis,roth1002/redis,tellapart/redis,clamoriniere1A/redis,yybirdcf/learn-redis,PKRoma/redis,mverrilli/redis,maodeyi/redis_lua,ncopa/redis,universsky/redis,ipmobiletech/redis,Soledad89/redis,guker/redis,modulexcite/redis,JoeWoo/redis,shreesundara/redis,holstvoogd/redis,soloestoy/redis,ituncle/redis,louisliangjun/redis,kaushik94/redis,zhoudayang/redis,jbochi/redis,itugs/redis,harrisonfeng/redis,louisliangjun/redis,francischan714/redis,mattsta/redis,kensou97/redis,colstrom/redis,blackmady/redis,YongMan/redis,ketor/redis,YuraLukashik/redis,zhaobo1023/redis-3.0-annotated,huangz1990/redis-3.0-annotated,alenslan/redis,hawkchch/redis,4396/redis,guker/redis,harrisonfeng/redis,zhcy/redis,gilala/redis,SyntaxStacks/redis,j0hnma/szredis,tanghaodong25/redis,allengaller/redis,AALEKH/redis,charsyam/redis,twskipper/redis,SyntaxStacks/redis,moonbingbing/redis-3.0-annotated,onlymellb/redis-3.0-annotated,zczhuohuo/redis,duanx/redis,huyuezheng/redis,MSOpenTech/redis,dreamquster/redis,yossigo/redis,SummonY/redis,ksarch-saas/redis,rouzier/redis,weizijun/redis,jackyan/redis,colstrom/redis,soveran/redis,wenxueliu/redis_comment,cusspvz/redis,ctripcorp/redis,GitHubMota/redis,tzq668766/redis-3.0-annotated,yybirdcf/learn-redis,modulexcite/redis,rogerchina/redis,adamweixuan/redis-3.0-annotated,soloestoy/redis,thomasdarimont/redis,tellapart/redis,buobao/redis-3.0-annotated,seppo0010/redis,modulexcite/redis,pmem/redis,shshlzh/redis-3.0-annotated,ipmobiletech/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,devaos/redis,xujunhai1991/redis,vincent-vivian-liu/redis,narma/redis,whille/redis-3.0-annotated,jbochi/parallel_redis,Aliceljm1/redis,GitHubMota/redis,badboy/redis,abhiklodh/redis,tellapart/redis,YuraLukashik/redis,sunlianqiang/redis-3.0-annotated,takeshineshiro/redis,xuzhezhaozhao/redis_reading,gechong/redis-3.0-annotated,jingjidejuren/redis,unasm/redis-3.0-annotated,programmecat/redis,devaos/redis,holstvoogd/redis,mumingv/redis,aim-for-better/redis,StevenTsai/redis,sunheehnus/redis,citusdata/redis,cloudrain21/redis,yossigo/redis,slfs007/mk-redis,wujf/redis,ncopa/redis,hgl888/redis,ofirluzon/redis,mgk/redis,spearhead-ea/redis,tanghaodong25/redis,seandsky/redis,drinkthere/redis-3.0-annotated,PKRoma/redis,cusspvz/redis,SummonY/redis,Aliceljm1/redis,YuanZhewei/redis,nuxeh/redis,Sciumo/redis,valdsJohn/redis,arijitvt/redis,fengshao0907/redis,xuzhezhaozhao/redis_reading,takeshineshiro/redis,hgl888/redis,Hailei/redis,jxwr/redis,louisliangjun/redis,JoeWoo/redis,wujf/redis,MasahikoSawada/redis,jackyan/redis,roth1002/redis,zhcy/redis,GrimDerp/redis,simplestbest/redis,devaos/redis,zhiliaoniu/redis,OmarQunsul/graph-redis,mingyaaaa/redis,jasonkying/redis,twskipper/redis,Markgorden/redis,a-pavlov/redis,jacklee0810/redis-3.0-annotated,jxwr/redis,rrsean/redis-3.0-annotated,pedigree/redis,maodeyi/redis_lua,z-fork/redis,ton31337/redis,mumingv/redis,twskipper/redis,fankeke/redis-3.0-annotated,soveran/redis,ouyangkongtong/redis,jingjidejuren/redis,spinlock/redis,atreeyang/redis,huyuezheng/redis,jackyan/redis,tanghaodong25/redis,jbochi/redis,gaoxianglong/redis,jingjidejuren/redis,gilala/hredis,honestme/redis,wangyikai/redis,dayuoba/redis,idning/redis,buobao/redis-3.0-annotated,yossigo/redis,Soledad89/redis,Aliceljm1/redis-3.0-annotated,iandyh/redis,h0x91b/redis,abhiklodh/redis,HouKangkang/redis-3.0-annotated,MSOpenTech/redis,linfangrong/redis,darksideofthemoo/redis-histogram,ofirluzon/redis,blackmady/redis,ttuna/msot-redis,ofirluzon/redis,mengyou0304/redis,yybirdcf/learn-redis,msn217/redis-3.0-annotated,gilala/hbjredis,francischan714/redis,rogerlz/redis,pcarrier/redis,jasonkying/redis,francischan714/redis,rogerchina/redis,josiahcarlson/redis,antirez/redis,AALEKH/redis,moonbingbing/redis-3.0-annotated,pkdevbox/redis,ituncle/redis,adamweixuan/redis-3.0-annotated,shreesundara/redis,seandsky/redis,mcanthony/redis,roth1002/redis,colstrom/redis,dayuoba/redis,duanx/redis,riyan8250/redis,ReadCode/redis-3.0-annotated,csuhawk/redis,pcarrier/redis,dreamquster/redis,rouzier/redis,xujunhai1991/redis,tjschuck/redis,j0hnma/hszredis,slfs007/mk-redis,tanghaodong25/redis,duanx/redis,NBSW/redis,wuyu201321060203/redis-3.0-annotated,Wangyao14cyy/redis,mengyou0304/redis,brg-liuwei/redis,fankeke/redis-3.0-annotated,wuyu201321060203/redis-3.0-annotated,ErikDubbelboer/redis,MOON-CLJ/redis,riyan8250/redis,huangz1990/redis-3.0-annotated,rogerchina/redis,valdsJohn/redis,saisai/redis,zguangyu/redis,onlymellb/redis-3.0-annotated,supasate/redis,j0hnma/szredis,MasahikoSawada/redis,Aaron1992/redis,yuhc/redis-benchmark-enhanced,JoeWoo/redis,neomantra/redis,kmiku7/redis,himoca/redis,darksideofthemoo/redis-histogram,Aliceljm1/redis-3.0-annotated,universsky/redis,seppo0010/redis,sunlianqiang/redis-3.0-annotated,mverrilli/redis,atreeyang/redis,Hailei/redis,Wangyao14cyy/redis,MSOpenTech/redis,HunanTV/redis,healerkx/redis,adamweixuan/redis-3.0-annotated,pmem/redis,ketor/redis,HeartSaVioR/redis,jbochi/redis,AplayER/redis,antirez/redis,yuzhangjob/redis-3.0-annotated-unstable,Aliceljm1/redis-3.0-annotated,Wangyao14cyy/redis,xuguruogu/redis,wujf/redis,zhcy/redis,clamoriniere1A/redis,huyuezheng/redis,Aaron1992/redis,spinlock/redis,citusdata/redis,iandyh/redis,whille/redis-3.0-annotated,josiahcarlson/redis,Aliceljm1/redis,dongqifan2/redis-3.0-annotated,HouKangkang/redis-3.0-annotated,allengaller/redis,4396/redis,shining-yang/redis,honestme/redis,miaoyc1989/redis-3.0-annotated,OmarQunsul/graph-redis,AplayER/redis,miaoyc1989/redis-3.0-annotated,elkingtonmcb/redis,riyan8250/redis,xlzhan/redis,atreeyang/redis,wujf/redis,hawkchch/redis,yossigo/redis,rogerlz/redis,4396/redis,a-pavlov/redis,tzq668766/redis-3.0-annotated,ncopa/redis,iandyh/redis,csuhawk/redis,clamoriniere1A/redis,blackmady/redis,july2993/redis,july2993/redis,Markgorden/redis,yuhc/redis-benchmark-enhanced,YongMan/redis,guker/redis,netroby/redis,ofirluzon/redis,healerkx/redis,hedisdb/hedis,charsyam/redis,Aaron1992/redis,zhiliaoniu/redis,narma/redis,harrisonfeng/redis,simplestbest/redis,YuanZhewei/redis,soloestoy/redis,CodeJuan/redis,shshlzh/redis-3.0-annotated,davidradunz/redis,yuhc/redis-benchmark-enhanced,tzq668766/redis-3.0-annotated,janekmi/redis,mengyou0304/redis,neomantra/redis,tjschuck/redis,rrsean/redis-3.0-annotated,csuhawk/redis,gilala/redis,ytjiang/redis,fengshao0907/redis-3.0-annotated,hornen/redis,wenxueliu/redis_comment,wangyikai/redis,shining-yang/redis,gilala/redis,flashbuckets/redis,gilala/bjredis,kaushik94/redis,oranagra/redis,ctripcorp/redis,wenxueliu/redis_comment,YongMan/redis,soloestoy/redis,gongice/redis-3.0-annotated,neomantra/redis,hedisdb/hedis,elkingtonmcb/redis,fengshao0907/redis,drinkthere/redis-3.0-annotated,abhiklodh/redis,janekmi/redis,h0x91b/redis,gechong/redis-3.0-annotated,zy416548283/redis-3.0-annotated,dongqifan2/redis-3.0-annotated,xlzhan/redis,itamarhaber/redis,oranagra/redis,LongXQ/redis,hgl888/redis,0x55/redis-3.0-annotated,zy416548283/redis-3.0-annotated,ramonsnir/redis,ttuna/msot-redis,gaoxianglong/redis,pedigree/redis,StevenTsai/redis,idning/redis,fengshao0907/redis-3.0-annotated,haima-zju/redis-3.0-annotated,AALEKH/redis,splitice/redis,Soledad89/redis,spinlock/redis,msn217/redis-3.0-annotated,badboy/redis,j0hnma/szredis,mumingv/redis-3.0-annotated,Sciumo/redis,davidradunz/redis,gilala/hbjredis,buobao/redis-3.0-annotated,seppo0010/redis,netroby/redis,allengaller/redis,0x55/redis-3.0-annotated,atreeyang/redis,shining-yang/redis,seppo0010/rlite-server,ketor/redis,ErikDubbelboer/redis,qiyang0221/redis,spinlock/redis,wbailey5/redis,LongXQ/redis,charsyam/redis,saisai/redis,sunheehnus/redis,arijitvt/redis,ytjiang/redis,harrisonfeng/redis,wuyu201321060203/redis-3.0-annotated,xujunhai1991/redis,holstvoogd/redis,qiyang0221/redis,sunheehnus/redis,splitice/redis,mumingv/redis-3.0-annotated,zczhuohuo/redis,kmiku7/redis,unasm/redis-3.0-annotated,LongXQ/redis,ErikDubbelboer/redis,hawkchch/redis,GrimDerp/redis,gilala/bjredis,gongice/redis-3.0-annotated,rouzier/redis,pcarrier/redis,thomasdarimont/redis,AALEKH/redis,badboy/redis,hedisdb/hedis,programmecat/redis,ipmobiletech/redis,honestme/redis,HeartSaVioR/redis,modulexcite/redis,AplayER/redis,h0x91b/redis,MOON-CLJ/redis,brg-liuwei/redis,guker/redis,yuzhangjob/redis-3.0-annotated-unstable,himoca/redis,mcanthony/redis,LongXQ/redis,antirez/redis,itugs/redis,PKRoma/redis,soveran/redis,kensou97/redis,ton31337/redis,timothyohare/3rdPartySrc-redis,xuguruogu/redis,supasate/redis,Soledad89/redis,izhoujie/redis,gaoxianglong/redis,thomasdarimont/redis,cloudrain21/redis,cloudrain21/redis,janekmi/redis,hedisdb/hedis,wbailey5/redis,vincent-vivian-liu/redis,flashbuckets/redis,SummonY/redis,190235047/redis,CodeJuan/redis,ctripcorp/redis,PradheepShrinivasan/redis,pkdevbox/redis,qiyang0221/redis,magastzheng/redis-3.0-annotated,valdsJohn/redis,YuanZhewei/redis,ipmobiletech/redis,mgk/redis,gilala/hredis,mengzhejin/RedisStudy,zhoudayang/redis,Hailei/redis,mumingv/redis,abhiklodh/redis,onlymellb/redis-3.0-annotated,janekmi/redis,netroby/redis,MSOpenTech/redis,itamarhaber/redis,mverrilli/redis,taoguan/redis,StevenTsai/redis,RepmujNetsik/redis,0x55/redis-3.0-annotated,PKRoma/redis,nnog/redis,timothyohare/3rdPartySrc-redis,seppo0010/rlite-server,GitHubMota/redis,gilala/hredis,gilala/bjredis,ouyangkongtong/redis,flashbuckets/redis,neomantra/redis,nilyang/redis-tdd-annotation,zy416548283/redis-3.0-annotated,RepmujNetsik/redis,saisai/redis,ytjiang/redis,darksideofthemoo/redis-histogram,Aaron1992/redis,ofirluzon/redis,gilala/bjredis,cusspvz/redis,Hailei/redis,xujunhai1991/redis,netroby/redis,cnbin/redis,HunanTV/redis,gechong/redis-3.0-annotated,wenxueliu/redis_comment,haima-zju/redis-3.0-annotated,HeartSaVioR/redis,mumingv/redis-3.0-annotated,fengshao0907/redis,blackmady/redis,gilala/hbjredis,zguangyu/redis,nilyang/redis-tdd-annotation,devaos/redis,shshlzh/redis-3.0-annotated,zhiliaoniu/redis,jingjidejuren/redis,a-pavlov/redis,190235047/redis,neomantra/redis,CodeJuan/redis,itamarhaber/redis,ErikDubbelboer/redis,itugs/redis,shining-yang/redis,CodeJuan/redis,hornen/redis,ouyangkongtong/redis,hawkchch/redis,haima-zju/redis-3.0-annotated,charsyam/redis,mverrilli/redis,nuxeh/redis,citusdata/redis,wprice/redis,MasahikoSawada/redis,YuraLukashik/redis,ttuna/msot-redis,YongMan/redis,taoguan/redis,alenslan/redis,mengyou0304/redis,SummonY/redis,nilyang/redis-tdd-annotation,kensou97/redis,190235047/redis,Wangyao14cyy/redis,YuanZhewei/redis,PradheepShrinivasan/redis,zhiliaoniu/redis,SyntaxStacks/redis,shshlzh/redis-3.0-annotated,ytjiang/redis,simplestbest/redis,soloestoy/redis,HouKangkang/redis-3.0-annotated,dreamquster/redis,huangz1990/redis-3.0-annotated,kmiku7/redis,wbailey5/redis,j0hnma/hszredis,qiyang0221/redis,slfs007/mk-redis,xuguruogu/redis,weizijun/redis,mgk/redis,taoguan/redis,idning/redis,unasm/redis-3.0-annotated,RepmujNetsik/redis,zhoudayang/redis,iandyh/redis,july2993/redis,Aliceljm1/redis,brg-liuwei/redis,spearhead-ea/redis,pkdevbox/redis,PradheepShrinivasan/redis,pmem/redis,ReadCode/redis-3.0-annotated,louisliangjun/redis,xuzhezhaozhao/redis_reading,vincent-vivian-liu/redis,izhoujie/redis,dayuoba/redis,kmiku7/redis,ctripcorp/redis,jacklee0810/redis-3.0-annotated,kaushik94/redis,narma/redis,seandsky/redis,nilyang/redis-tdd-annotation,alenslan/redis,aim-for-better/redis,taoguan/redis,healerkx/redis,izhoujie/redis,cnbin/redis,riyan8250/redis,rogerlz/redis,a-pavlov/redis,colstrom/redis,yuhc/redis-benchmark-enhanced,ton31337/redis,jasonkying/redis,timothyohare/3rdPartySrc-redis,roth1002/redis,wangyikai/redis,maodeyi/redis_lua,healerkx/redis,zhoudayang/redis,honestme/redis,huyuezheng/redis,aim-for-better/redis,HunanTV/redis,whille/redis-3.0-annotated,Markgorden/redis,GrimDerp/redis,himoca/redis,Sciumo/redis,hgl888/redis,pcarrier/redis,brg-liuwei/redis,davidradunz/redis,StevenTsai/redis,4396/redis,takeshineshiro/redis,NBSW/redis,pedigree/redis,NBSW/redis,soveran/redis,gaoxianglong/redis,z-fork/redis,mengzhejin/RedisStudy,oranagra/redis,PradheepShrinivasan/redis,pedigree/redis,ksarch-saas/redis,mcanthony/redis,saisai/redis,weizijun/redis,SyntaxStacks/redis,fengshao0907/redis,rogerchina/redis,h0x91b/redis