plan: update the function of `finshTask` (#2996)
plan: update the function of `finshTask` (#2996)


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