Cluster: properly send ping to nodes not pinged foro too much time.
Cluster: properly send ping to nodes not pinged foro too much time.

In commit d728ec6 it was introduced the concept of sending a ping to
every node not receiving a ping since node_timeout/2 seconds.
However the code was located in a place that was not executed because of
a previous conditional causing the loop to re-iterate.

This caused false positives in nodes availability detection.

The current code is still not perfect as a node may be detected to be in
PFAIL state even if it does not reply for just node_timeout/2 seconds
that is not correct. There is a plan to improve this code ASAP.

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