fix(raft/log): truncate file and reset offset correctly
fix(raft/log): truncate file and reset offset correctly

devfreesg/etcd,raoofm/etcd,visheshnp/etcd,chai2010/etcd,junxu/etcd,dalanlan/etcd,bakins/etcd,mwitkow/etcd,akauppi/etcd,sofuture/etcd,robszumski/etcd,polvi/etcd,etcd-io/etcd,fgbreel/etcd,giantswarm/etcd,mwitkow/etcd,mitake/etcd,jmptrader/etcd,arthurcolle/etcd,wfxiang08/etcd,iamqizhao/etcd,insionng/etcd,es-chow/etcd,njharman/etcd,improbable-io/etcd,TheHippo/etcd,xdlinear/etcd,sebrandon1/etcd,sinsharat/etcd,qqsun8819/etcd,li-ang/etcd,tempbottle/etcd,youxidev/etcd,SivagnanamCiena/etcd,xebitstudios/etcd,jefby/etcd,lumjjb/etcd,insequent/etcd,honeyqa/etcd,yifan-gu/etcd,delkyd/etcd,tangkun75/etcd,dnaeon/etcd,shawnps/etcd,endocode/etcd,tguangch/etcd,freeloop1114/etcd,jmptrader/etcd,mwitkow-io/etcd,axingblog/etcd,tempbottle/etcd,dnaeon/etcd,shakefu/etcd,nekto0n/etcd,jonboulle/etcd,rnaveiras/etcd,cockroachdb/etcd,dannysauer/etcd,glycerine/etcd,kingland/etcd,hroyrh/etcd,swingbach/etcd,mkumatag/etcd,SivagnanamCiena/etcd,luxas/etcd,axingblog/etcd,imzhulei/etcd,lzbgt/etcd,spotify/etcd,betawaffle/etcd,yyljlyy/etcd,yifan-gu/etcd,achanda/etcd,combk8s/etcd,ecnahc515/etcd,oscarrr110/etcd,gae123/etcd,nieanan/etcd,cognusion/etcd,cvik/etcd,heyitsanthony/etcd,xychu/etcd,jeremyeder/etcd,fasaxc/etcd,tangkun75/etcd,vimalk78/etcd,buaazp/etcd,plasticbox/etcd,princeqjzh/etcd,a-robinson/etcd,chipironcin/etcd,ylong/etcd,HideoYamauchi/etcd,jravetch/etcd,ajityagaty/etcd,li-ang/etcd,fgbreel/etcd,olark/etcd,purpleidea/etcd,princeqjzh/etcd,jeremyeder/etcd,TheHippo/etcd,justintung/etcd,westhood/etcd,hroyrh/etcd,jchauncey/etcd,ktateish/etcd,nkhare/etcd,chipironcin/etcd,yichengq/etcd,buaazp/etcd,jlamillan/etcd,swingbach/etcd,gityf/etcd,armstrongli/etcd,njucslqq/etcd,hongbinz/etcd,olark/etcd,Timer/etcd,zaphod-concur/etcd,es-chow/etcd,lorneli/etcd,etcd-io/etcd,gityf/etcd,csuideal/etcd,mkumatag/etcd,whuwxl/etcd,yudai/etcd,giantswarm/etcd,fanminshi/etcd,shafreeck/etcd,coreos/etcd,offscale/etcd,iamqizhao/etcd,onlyjob/etcd,akauppi/etcd,insionng/etcd,StorReduce/etcd,sebschrader/etcd,pauldallen/etcd,snailwalker/etcd,tamird/etcd,CrazyJvm/etcd,sebrandon1/etcd,qiaochao911/etcd,wantonsolutions/dinv-etcd,hongchaodeng/etcd,hongchaodeng/etcd,gyuho/etcd,gyuho/etcd,dannysauer/etcd,cchamplin/etcd,crandles/etcd,joshix/etcd,kkaneda/etcd,dterei/etcd,msanterre/etcd,hpcloud/etcd,nkhare/etcd,mwitkow-io/etcd,justintung/etcd,armstrongli/etcd,polvi/etcd,cvik/etcd,heyitsanthony/etcd,xiang90/etcd,Yhgenomics/etcd,ecnahc515/etcd,whuwxl/etcd,OyTao/etcd_learning,insequent/etcd,ylong/etcd,beni55/etcd,mike-lerch/etcd,bluebreezecf/etcd,mickep76/etcd,rchicoli/etcd,yichengq/etcd,devfreesg/etcd,gtank/etcd,Yhgenomics/etcd,ajityagaty/etcd,endocode/etcd,nieanan/etcd,cognusion/etcd,spacejam/etcd,glevand/coreos--etcd,jlamillan/etcd,bdarnell/etcd,zaphod-concur/etcd,jravetch/etcd,betawaffle/etcd,mischief/etcd,fasaxc/etcd,imzhulei/etcd,bspline/etcd,cockroachdb/etcd,joshix/etcd,steveeJ/etcd,raoofm/etcd,ravigadde/etcd,arthurcolle/etcd,xychu/etcd,hzy001/etcd,hpcloud/etcd,chai2010-playground/etcd,gouyang/etcd,beni55/etcd,wfxiang08/etcd,gosharplite/etcd,dalanlan/etcd,glevand/coreos--etcd,oscarrr110/etcd,Eagle-X/etcd,Winslett/etcd,openedbox/etcd,StorReduce/etcd,wowsoso/etcd,qqsun8819/etcd,Winslett/etcd,barakmich/etcd,plasticbox/etcd,lumjjb/etcd,asim/etcd,sayden/etcd,qiaochao911/etcd,mitake/etcd,junxu/etcd,gouyang/etcd,barakmich/etcd,jonboulle/etcd,asim/etcd,njharman/etcd,honeyqa/etcd,hongbinz/etcd,luxas/etcd,lzbgt/etcd,mqliang/etcd,xebitstudios/etcd,mike-lerch/etcd,crandles/etcd,siddontang/etcd,combk8s/etcd,tamird/etcd,lorneli/etcd,yudai/etcd,mickep76/etcd,QuantiumTechnology/etcd,bspline/etcd,shawnps/etcd,mischief/etcd,xiang90/etcd,glycerine/etcd,QuantiumTechnology/etcd,glensc/etcd,sofuture/etcd,msanterre/etcd,gosharplite/etcd,Eagle-X/etcd,csuideal/etcd,gtank/etcd,wowsoso/etcd,spotify/etcd,purpleidea/etcd,elimisteve/etcd,OyTao/etcd_learning,spacejam/etcd,onlyjob/etcd,mkumatag/etcd,steveeJ/etcd,offscale/etcd,pengzj/etcd,rchicoli/etcd,shafreeck/etcd,bakins/etcd,linuxcer/etcd,rnaveiras/etcd,ajityagaty/etcd,pauldallen/etcd,snailwalker/etcd,chai2010/etcd,fasaxc/etcd,Timer/etcd,robszumski/etcd,vimalk78/etcd,hzy001/etcd,handsomesun/etcd,bluebreezecf/etcd,bdarnell/etcd,mqliang/etcd,coreos/etcd,pigfoot/etcd,sebschrader/etcd,spotify/etcd,improbable-io/etcd,youxidev/etcd,glensc/etcd,sayden/etcd,gae123/etcd,openedbox/etcd,kkaneda/etcd,delkyd/etcd,chenbaihu/etcd,yyljlyy/etcd,wantonsolutions/dinv-etcd,achanda/etcd,xueshanf/etcd,visheshnp/etcd,etcd-io/etcd,linuxcer/etcd,jefby/etcd,shakefu/etcd,sinsharat/etcd,siddontang/etcd,dterei/etcd,a-robinson/etcd,jchauncey/etcd,mqliang/etcd,ktateish/etcd,cvik/etcd,xdlinear/etcd,rnaveiras/etcd,chenbaihu/etcd,njucslqq/etcd,handsomesun/etcd,cvik/etcd,westhood/etcd,YuleiXiao/etcd,kingland/etcd,fanminshi/etcd,mgoelzer/etcd-fork2,svdata/etcd,tguangch/etcd,xueshanf/etcd,spotify/etcd,ravigadde/etcd,freeloop1114/etcd,chai2010-playground/etcd,wantonsolutions/dinv-etcd,YuleiXiao/etcd,elimisteve/etcd,pengzj/etcd,HideoYamauchi/etcd,nekto0n/etcd,cchamplin/etcd,CrazyJvm/etcd,mgoelzer/etcd-fork2,svdata/etcd