pingcap / tidb-tools

tidb-tools are some useful tool collections for TiDB.
Apache License 2.0
288 stars 193 forks source link

sync-diff need add retry for "Error 1105: other error : Coprocessor task terminated due to exceeding the deadline error occured in ppdb1_6.transaction" fail #696

Open seiya-annie opened 1 year ago

seiya-annie commented 1 year ago

Please answer these questions before submitting your issue. Thanks!

  1. Minimal reproduce step (Required) sync-diff executor fail for some reason, please add retry for compare

  2. What did you expect to see? (Required) sync-diff success

  3. What did you see instead (Required) sync-diff timeout 100% 0/0\nError in comparison process:\nError 1105: other error : Coprocessor task terminated due to exceeding the deadline error occured in ppdb1_6.transaction\nYou can view t he comparision details through './output_20230114_215511/sync_diff.log'"] [stderr=] ["exit code"=1]

  4. What is your TiDB version? (Required) master [2023/01/14 21:55:11.709 +00:00] [INFO] [printer.go:46] ["Welcome to sync_diff_inspector"] ["Release Version"=v6.0.0-3-gb870b1b] ["Git Commit Hash"=b870b1b22028998ea3da8212b21e447193742c66] ["Git Branch"=master] ["UTC Build Time"="2022-04-28 06:55:21"] ["Go Version"=go1.18]

seiya-annie commented 1 year ago

sync_diff.log