raft: fix getting unapplied log entries
raft: fix getting unapplied log entries

glycerine/etcd,a-robinson/etcd,mickep76/etcd,purpleidea/etcd,bluebreezecf/etcd,CrazyJvm/etcd,OyTao/etcd_learning,luxas/etcd,rnaveiras/etcd,joshix/etcd,nekto0n/etcd,li-ang/etcd,rnaveiras/etcd,akauppi/etcd,YuleiXiao/etcd,yudai/etcd,mkumatag/etcd,endocode/etcd,joshix/etcd,cockroachdb/etcd,whuwxl/etcd,visheshnp/etcd,linuxcer/etcd,gyuho/etcd,rchicoli/etcd,armstrongli/etcd,bluebreezecf/etcd,hongchaodeng/etcd,cockroachdb/etcd,mickep76/etcd,glevand/coreos--etcd,plasticbox/etcd,mqliang/etcd,purpleidea/etcd,sinsharat/etcd,jlamillan/etcd,insequent/etcd,xiang90/etcd,dannysauer/etcd,ajityagaty/etcd,bdarnell/etcd,luxas/etcd,qqsun8819/etcd,linuxcer/etcd,ktateish/etcd,mqliang/etcd,handsomesun/etcd,heyitsanthony/etcd,nekto0n/etcd,jlamillan/etcd,bdarnell/etcd,CrazyJvm/etcd,mkumatag/etcd,lorneli/etcd,ravigadde/etcd,a-robinson/etcd,lumjjb/etcd,ajityagaty/etcd,vimalk78/etcd,sebrandon1/etcd,rchicoli/etcd,glevand/coreos--etcd,heyitsanthony/etcd,zaphod-concur/etcd,lumjjb/etcd,li-ang/etcd,fanminshi/etcd,handsomesun/etcd,vimalk78/etcd,coreos/etcd,qqsun8819/etcd,zaphod-concur/etcd,glycerine/etcd,ajityagaty/etcd,hongchaodeng/etcd,xiang90/etcd,etcd-io/etcd,tguangch/etcd,insequent/etcd,sebrandon1/etcd,jonboulle/etcd,coreos/etcd,ravigadde/etcd,ktateish/etcd,OyTao/etcd_learning,gyuho/etcd,jonboulle/etcd,akauppi/etcd,dannysauer/etcd,whuwxl/etcd,armstrongli/etcd,visheshnp/etcd,plasticbox/etcd,yudai/etcd,tguangch/etcd,lorneli/etcd,fanminshi/etcd,etcd-io/etcd,endocode/etcd,mkumatag/etcd,mqliang/etcd,rnaveiras/etcd,YuleiXiao/etcd,etcd-io/etcd,sinsharat/etcd