compactor: Fix compaction loop when get all version of key
compactor: Fix compaction loop when get all version of key

simon-xia/tidb,simon-xia/tidb,ming-relax/tidb,ueizhou/tidb,CodeRushing/tidb,andelf/tidb,qhsong/tidb,mccxj/tidb,tiancaiamao/tidb,ngaut/tidb,silenceper/tidb,myrice/tidb,gaocegege/tidb,XuHuaiyu/tidb,silenceper/tidb,myrice/tidb,c4pt0r/tidb,yuanwhy/tidb,kyle-wang/tidb,CodeRushing/tidb,Nify/tidb,zs634134578/tidb,kyle-wang/tidb,liyu4/tidb,ngaut/tidb,pingcap/tidb,JinheLin/tidb,zimulala/tidb,pingcap/tidb,c4pt0r/tidb,yangwenmai/tidb,qiuyesuifeng/tidb,kyle-wang/tidb,tiancaiamao/tidb,pingcap/tidb,ngaut/tidb,louishust/tidb,pingcap/tidb,pingcap/tidb,spongedu/tidb,ming-relax/tidb,pingcap/tidb,c4pt0r/tidb,ngaut/tidb,cosmtrek/tidb,8cbx/tidb,Cofyc/tidb,c4pt0r/tidb,yangwenmai/tidb,spongedu/tidb,silentred/tidb,silentred/tidb,astaxie/tidb,Cofyc/tidb,mccxj/tidb,ngaut/tidb,8cbx/tidb,cosmtrek/tidb,gaocegege/tidb,qiuyesuifeng/tidb,zs634134578/tidb,liyu4/tidb,anywhy/tidb,EvilMcJerkface/tidb,anywhy/tidb,andelf/tidb,zimulala/tidb,c4pt0r/tidb,JinheLin/tidb,yuanwhy/tidb,wusphinx/tidb,astaxie/tidb,Nify/tidb,coocood/tidb,kyle-wang/tidb,XuHuaiyu/tidb,wusphinx/tidb,louishust/tidb,coocood/tidb,EvilMcJerkface/tidb,c4pt0r/tidb,qhsong/tidb,kyle-wang/tidb,ngaut/tidb,ueizhou/tidb,kyle-wang/tidb