Seek at the end of AOF after truncate call.
Seek at the end of AOF after truncate call.

It is not clear if files open in append only mode will automatically fix
their offset after a truncate(2) operation. This commit makes sure that
we reposition the AOF file descriptor offset at the end of the file
after a truncated AOF is loaded and trimmed to the last valid command.

holstvoogd/redis,sunheehnus/redis,tellapart/redis,kensou97/redis,shreesundara/redis,dayuoba/redis,oranagra/redis,oranagra/redis,mverrilli/redis,gaoxianglong/redis,taoguan/redis,Aliceljm1/redis,ouyangkongtong/redis,jasonkying/redis,yossigo/redis,wbailey5/redis,wprice/redis,josiahcarlson/redis,gilala/hbjredis,fengshao0907/redis,xuguruogu/redis,a-pavlov/redis,yossigo/redis,GitHubMota/redis,zczhuohuo/redis,atreeyang/redis,RepmujNetsik/redis,janekmi/redis,StevenTsai/redis,kaushik94/redis,charsyam/redis,AplayER/redis,190235047/redis,YongMan/redis,netroby/redis,seppo0010/rlite-server,NBSW/redis,sunheehnus/redis,kmiku7/redis,neomantra/redis,dayuoba/redis,GrimDerp/redis,kaushik94/redis,antirez/redis,janekmi/redis,SummonY/redis,AplayER/redis,yossigo/redis,shreesundara/redis,ipmobiletech/redis,pkdevbox/redis,sunheehnus/redis,cnbin/redis,ituncle/redis,soloestoy/redis,guker/redis,kensou97/redis,YuraLukashik/redis,mengyou0304/redis,francischan714/redis,yuhc/redis-benchmark-enhanced,flashbuckets/redis,colstrom/redis,duanx/redis,mcanthony/redis,clamoriniere1A/redis,janekmi/redis,takeshineshiro/redis,alenslan/redis,xujunhai1991/redis,linfangrong/redis,cloudrain21/redis,hgl888/redis,mverrilli/redis,honestme/redis,pkdevbox/redis,vincent-vivian-liu/redis,rouzier/redis,weizijun/redis,CodeJuan/redis,seandsky/redis,cusspvz/redis,flashbuckets/redis,Aaron1992/redis,mumingv/redis,hawkchch/redis,holstvoogd/redis,takeshineshiro/redis,honestme/redis,timothyohare/3rdPartySrc-redis,qiyang0221/redis,vincent-vivian-liu/redis,Markgorden/redis,hornen/redis,dreamquster/redis,gilala/hbjredis,mengyou0304/redis,healerkx/redis,gaoxianglong/redis,OmarQunsul/graph-redis,ErikDubbelboer/redis,StevenTsai/redis,charsyam/redis,harrisonfeng/redis,arijitvt/redis,PKRoma/redis,pcarrier/redis,davidradunz/redis,harrisonfeng/redis,ipmobiletech/redis,wujf/redis,z-fork/redis,saisai/redis,OmarQunsul/graph-redis,rogerchina/redis,PradheepShrinivasan/redis,fengshao0907/redis,cnbin/redis,zguangyu/redis,universsky/redis,gilala/bjredis,AALEKH/redis,mattsta/redis,dayuoba/redis,soloestoy/redis,mumingv/redis,mgk/redis,spinlock/redis,Wangyao14cyy/redis,gilala/bjredis,csuhawk/redis,tjschuck/redis,weizijun/redis,linfangrong/redis,cloudrain21/redis,elkingtonmcb/redis,PradheepShrinivasan/redis,zczhuohuo/redis,duanx/redis,j0hnma/hszredis,wbailey5/redis,Aaron1992/redis,supasate/redis,narma/redis,itamarhaber/redis,ofirluzon/redis,rogerchina/redis,huyuezheng/redis,YongMan/redis,charsyam/redis,190235047/redis,YuraLukashik/redis,MasahikoSawada/redis,Aaron1992/redis,yuhc/redis-benchmark-enhanced,StevenTsai/redis,flashbuckets/redis,guker/redis,Soledad89/redis,colstrom/redis,seppo0010/rlite-server,SyntaxStacks/redis,seandsky/redis,hawkchch/redis,PKRoma/redis,badboy/redis,Sciumo/redis,neomantra/redis,zhcy/redis,universsky/redis,rogerlz/redis,brg-liuwei/redis,saisai/redis,dayuoba/redis,jasonkying/redis,vincent-vivian-liu/redis,citusdata/redis,mverrilli/redis,xujunhai1991/redis,gaoxianglong/redis,vincent-vivian-liu/redis,ctripcorp/redis,GitHubMota/redis,itugs/redis,4396/redis,wprice/redis,simplestbest/redis,pedigree/redis,csuhawk/redis,soloestoy/redis,izhoujie/redis,clamoriniere1A/redis,soveran/redis,pmem/redis,seppo0010/redis,rouzier/redis,clamoriniere1A/redis,devaos/redis,iandyh/redis,NBSW/redis,CodeJuan/redis,Aliceljm1/redis,allengaller/redis,abhiklodh/redis,ituncle/redis,Markgorden/redis,rogerchina/redis,yossigo/redis,soveran/redis,hornen/redis,spinlock/redis,colstrom/redis,josiahcarlson/redis,neomantra/redis,YuraLukashik/redis,davidradunz/redis,zguangyu/redis,gilala/bjredis,JoeWoo/redis,wprice/redis,brg-liuwei/redis,tjschuck/redis,zhcy/redis,riyan8250/redis,ErikDubbelboer/redis,Sciumo/redis,gaoxianglong/redis,josiahcarlson/redis,seppo0010/redis,AALEKH/redis,PKRoma/redis,aim-for-better/redis,thomasdarimont/redis,MOON-CLJ/redis,xlzhan/redis,shining-yang/redis,PradheepShrinivasan/redis,shining-yang/redis,mengyou0304/redis,RepmujNetsik/redis,Wangyao14cyy/redis,xlzhan/redis,davidradunz/redis,AALEKH/redis,wenxueliu/redis_comment,Markgorden/redis,nuxeh/redis,j0hnma/szredis,ctripcorp/redis,guker/redis,Aliceljm1/redis,aim-for-better/redis,mingyaaaa/redis,abhiklodh/redis,shreesundara/redis,tjschuck/redis,wujf/redis,Aaron1992/redis,itamarhaber/redis,mgk/redis,jasonkying/redis,ncopa/redis,timothyohare/3rdPartySrc-redis,cloudrain21/redis,francischan714/redis,huyuezheng/redis,ctripcorp/redis,Sciumo/redis,ofirluzon/redis,supasate/redis,harrisonfeng/redis,qiyang0221/redis,wenxueliu/redis_comment,SyntaxStacks/redis,SummonY/redis,hornen/redis,Markgorden/redis,pmem/redis,h0x91b/redis,wangyikai/redis,kensou97/redis,ituncle/redis,shreesundara/redis,mumingv/redis,flashbuckets/redis,a-pavlov/redis,yossigo/redis,izhoujie/redis,abhiklodh/redis,yuhc/redis-benchmark-enhanced,modulexcite/redis,twskipper/redis,mattsta/redis,rogerlz/redis,citusdata/redis,GitHubMota/redis,hedisdb/hedis,tellapart/redis,narma/redis,pedigree/redis,mengyou0304/redis,YuanZhewei/redis,kensou97/redis,iandyh/redis,holstvoogd/redis,wprice/redis,modulexcite/redis,healerkx/redis,ton31337/redis,soloestoy/redis,shining-yang/redis,seppo0010/rlite-server,a-pavlov/redis,pcarrier/redis,mgk/redis,kaushik94/redis,itugs/redis,taoguan/redis,izhoujie/redis,alenslan/redis,saisai/redis,itugs/redis,simplestbest/redis,blackmady/redis,j0hnma/szredis,july2993/redis,ncopa/redis,itamarhaber/redis,weizijun/redis,ctripcorp/redis,arijitvt/redis,a-pavlov/redis,wbailey5/redis,taoguan/redis,xujunhai1991/redis,josiahcarlson/redis,4396/redis,riyan8250/redis,july2993/redis,tjschuck/redis,thomasdarimont/redis,twskipper/redis,atreeyang/redis,PKRoma/redis,iandyh/redis,Soledad89/redis,zczhuohuo/redis,AplayER/redis,hgl888/redis,antirez/redis,csuhawk/redis,qiyang0221/redis,zczhuohuo/redis,wenxueliu/redis_comment,OmarQunsul/graph-redis,itugs/redis,sunheehnus/redis,roth1002/redis,SyntaxStacks/redis,blackmady/redis,july2993/redis,pcarrier/redis,Wangyao14cyy/redis,universsky/redis,j0hnma/szredis,j0hnma/hszredis,ErikDubbelboer/redis,tellapart/redis,GrimDerp/redis,aim-for-better/redis,Soledad89/redis,jingjidejuren/redis,z-fork/redis,YongMan/redis,hawkchch/redis,elkingtonmcb/redis,holstvoogd/redis,riyan8250/redis,zhiliaoniu/redis,z-fork/redis,yuhc/redis-benchmark-enhanced,zhiliaoniu/redis,rogerlz/redis,ErikDubbelboer/redis,valdsJohn/redis,ouyangkongtong/redis,devaos/redis,oranagra/redis,netroby/redis,simplestbest/redis,allengaller/redis,StevenTsai/redis,mcanthony/redis,mingyaaaa/redis,valdsJohn/redis,xlzhan/redis,GrimDerp/redis,Wangyao14cyy/redis,NBSW/redis,j0hnma/szredis,neomantra/redis,pkdevbox/redis,ytjiang/redis,charsyam/redis,GitHubMota/redis,brg-liuwei/redis,netroby/redis,allengaller/redis,alenslan/redis,valdsJohn/redis,hgl888/redis,arijitvt/redis,nnog/redis,cusspvz/redis,ton31337/redis,4396/redis,hedisdb/hedis,jackyan/redis,thomasdarimont/redis,pedigree/redis,gilala/hbjredis,xuguruogu/redis,ofirluzon/redis,badboy/redis,healerkx/redis,soveran/redis,h0x91b/redis,MOON-CLJ/redis,ton31337/redis,cnbin/redis,csuhawk/redis,j0hnma/hszredis,cusspvz/redis,healerkx/redis,devaos/redis,kmiku7/redis,seandsky/redis,hgl888/redis,tanghaodong25/redis,antirez/redis,ouyangkongtong/redis,xujunhai1991/redis,ituncle/redis,saisai/redis,badboy/redis,soloestoy/redis,xuguruogu/redis,riyan8250/redis,colstrom/redis,wenxueliu/redis_comment,abhiklodh/redis,hornen/redis,citusdata/redis,LongXQ/redis,xlzhan/redis,aim-for-better/redis,dreamquster/redis,shining-yang/redis,blackmady/redis,hedisdb/hedis,devaos/redis,jackyan/redis,MasahikoSawada/redis,brg-liuwei/redis,YuanZhewei/redis,fengshao0907/redis,takeshineshiro/redis,hedisdb/hedis,kmiku7/redis,CodeJuan/redis,programmecat/redis,zhiliaoniu/redis,programmecat/redis,clamoriniere1A/redis,ncopa/redis,francischan714/redis,guker/redis,huyuezheng/redis,ytjiang/redis,allengaller/redis,wangyikai/redis,hawkchch/redis,francischan714/redis,narma/redis,Sciumo/redis,AplayER/redis,nnog/redis,z-fork/redis,simplestbest/redis,modulexcite/redis,linfangrong/redis,programmecat/redis,takeshineshiro/redis,GrimDerp/redis,oranagra/redis,charsyam/redis,mingyaaaa/redis,dreamquster/redis,cusspvz/redis,huyuezheng/redis,arijitvt/redis,jingjidejuren/redis,modulexcite/redis,fengshao0907/redis,july2993/redis,janekmi/redis,thomasdarimont/redis,nuxeh/redis,izhoujie/redis,jackyan/redis,honestme/redis,netroby/redis,nuxeh/redis,jingjidejuren/redis,wujf/redis,ipmobiletech/redis,universsky/redis,zhcy/redis,ipmobiletech/redis,LongXQ/redis,duanx/redis,ton31337/redis,mcanthony/redis,RepmujNetsik/redis,h0x91b/redis,zguangyu/redis,wbailey5/redis,valdsJohn/redis,xuguruogu/redis,ofirluzon/redis,ncopa/redis,soveran/redis,ouyangkongtong/redis,LongXQ/redis,ytjiang/redis,programmecat/redis,linfangrong/redis,wangyikai/redis,seppo0010/rlite-server,duanx/redis,twskipper/redis,oranagra/redis,zhiliaoniu/redis,mingyaaaa/redis,SyntaxStacks/redis,jackyan/redis,kaushik94/redis,ofirluzon/redis,mcanthony/redis,SummonY/redis,twskipper/redis,taoguan/redis,pmem/redis,seppo0010/redis,PradheepShrinivasan/redis,atreeyang/redis,roth1002/redis,iandyh/redis,alenslan/redis,weizijun/redis,harrisonfeng/redis,mgk/redis,mattsta/redis,YuanZhewei/redis,atreeyang/redis,dreamquster/redis,timothyohare/3rdPartySrc-redis,190235047/redis,JoeWoo/redis,supasate/redis,JoeWoo/redis,rogerchina/redis,elkingtonmcb/redis,4396/redis,roth1002/redis,gilala/bjredis,mverrilli/redis,MasahikoSawada/redis,wangyikai/redis,blackmady/redis,AALEKH/redis,citusdata/redis,tellapart/redis,YongMan/redis,timothyohare/3rdPartySrc-redis,RepmujNetsik/redis,mumingv/redis,spinlock/redis,NBSW/redis,YuanZhewei/redis,SummonY/redis,JoeWoo/redis,CodeJuan/redis,LongXQ/redis,qiyang0221/redis,h0x91b/redis,jasonkying/redis,190235047/redis,tanghaodong25/redis,OmarQunsul/graph-redis,badboy/redis,tanghaodong25/redis,davidradunz/redis,seppo0010/redis,rouzier/redis,nnog/redis,MasahikoSawada/redis,cloudrain21/redis,gilala/hbjredis,j0hnma/hszredis,jingjidejuren/redis,rogerlz/redis,zhcy/redis,MOON-CLJ/redis,spinlock/redis,seandsky/redis,pkdevbox/redis,itamarhaber/redis,pmem/redis,antirez/redis,cnbin/redis,pcarrier/redis,Soledad89/redis,zguangyu/redis,roth1002/redis,PKRoma/redis,neomantra/redis,wujf/redis,kmiku7/redis,supasate/redis,nnog/redis,rouzier/redis,honestme/redis,pedigree/redis,tanghaodong25/redis,elkingtonmcb/redis,Aliceljm1/redis,ytjiang/redis,YuraLukashik/redis,nuxeh/redis