tikv / tikv

Distributed transactional key-value database, originally created to complement TiDB
https://tikv.org
Apache License 2.0
14.99k stars 2.12k forks source link

v6.2.0 dr auto sync: reset-to-version didn't finished after 20min with only 7G data in it #13208

Open mayjiang0203 opened 2 years ago

mayjiang0203 commented 2 years ago

Bug Report

What version of TiKV are you using?

[root@tikv1-0 ~]# /tiup/deploy/tikv-20160/bin/tikv-server -V TiKV Release Version: 6.2.0-alpha Edition: Community Git Commit Hash: 8a4c8b3828fe689e977c671796381d2e9b16bc07 Git Commit Branch: heads/refs/tags/v6.2.0 UTC Build Time: 2022-08-01 09:10:03 Rust Version: rustc 1.62.0-nightly (7c4b47696 2022-04-30) Enable Features: pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine cloud-aws cloud-gcp cloud-azure Profile: dist_releas

What operating system and CPU are you using?

Steps to reproduce

What did you expect?

Should be finished within 5min

What did happened?

reset version in tikv5 at 14:28, didn't find "done" at 14:48. image image

mayjiang0203 commented 2 years ago

/type bug /severity major /assign @longfangsong /label affects-6.2

mayjiang0203 commented 2 years ago

/remove-label may-affects-4.0 /remove-label may-affects-5.0 /remove-label may-affects-5.1 /remove-label may-affects-5.2 /remove-label may-affects-5.3 /remove-label may-affects-5.4 /remove-label may-affects-6.0 /remove-label may-affects-6.1