[store/tikv] fix infinite batch cop retry when tiflash peer misses (#18268)
[store/tikv] fix infinite batch cop retry when tiflash peer misses (#18268)

* [store/tikv] fix infinit batch cop retry when tiflash peer misses

* fix

Co-authored-by: ti-srebot <354121b1fcd840b60f1eb3b56f3ea5cc78ec06dd@users.noreply.github.com>
coocood/tidb,pingcap/tidb,ngaut/tidb,pingcap/tidb,coocood/tidb,kyle-wang/tidb,kyle-wang/tidb,kyle-wang/tidb,EvilMcJerkface/tidb,pingcap/tidb,kyle-wang/tidb,kyle-wang/tidb,c4pt0r/tidb,ngaut/tidb,EvilMcJerkface/tidb,pingcap/tidb,pingcap/tidb,ngaut/tidb,XuHuaiyu/tidb,XuHuaiyu/tidb,c4pt0r/tidb,ngaut/tidb,pingcap/tidb,c4pt0r/tidb,ngaut/tidb,ngaut/tidb,c4pt0r/tidb,c4pt0r/tidb,c4pt0r/tidb,kyle-wang/tidb