tikv / pd

Placement driver for TiKV
Apache License 2.0
1.06k stars 724 forks source link

[Online Recovery]after run online recovery,learner peer has always existed #5093

Open Lily2025 opened 2 years ago

Lily2025 commented 2 years ago

Bug Report

What did you do?

1、down two tikv 2、execute online unsafe recovery

What did you expect to see?

learner-peer-region-count、down-peer-region-count can reduce to zero after online recovery success

What did you see instead?

image

What version of PD are you using (pd-server -V)?

./tikv-server -V TiKV 2022-06-02T00:30:09.871Z INFO k8s/client.go:107 it should be noted that a long-running command will not be interrupted even the use case has ended. For more information, please refer to https://github.com/pingcap/test-infra/discussions/129 Release Version: 6.1.0-alpha Edition: Community Git Commit Hash: a5987f34ade71caa34cc340c953bd67de5901ace Git Commit Branch: heads/refs/tags/v6.1.0-nightly UTC Build Time: 2022-06-01 15:21:32 Rust Version: rustc 1.60.0-nightly (1e12aef3f 2022-02-13) 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_release ./pd-server -V Release Version: v6.1.0-nightly Edition: Community Git Commit Hash: 0d05fba64372408c5af9a78cd9b47b58c4925ca9 Git Branch: heads/refs/tags/v6.1.0-nightly UTC Build Time: 2022-06-01 03:21:13

Lily2025 commented 2 years ago

/type bug /severity Moderate /assign rleungx

rleungx commented 2 years ago

See https://github.com/tikv/pd/issues/5033