Sentinel: leadership handling changes WIP.
Sentinel: leadership handling changes WIP.

Changes to leadership handling.

Now the leader gets selected by every Sentinel, for a specified epoch,
when the SENTINEL is-master-down-by-addr is sent.

This command now includes the runid and the currentEpoch of the instance
seeking for a vote. The Sentinel only votes a single time in a given
epoch.

Still a work in progress, does not even compile at this stage.

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