Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DR-autosync: region cannot be SIMPLE_MAJORITY after recover to sync mode #4009

Closed
mayjiang0203 opened this issue Aug 19, 2021 · 2 comments
Closed
Assignees
Labels
component/replication-mode Replication mode. severity/major The issue's severity is major. type/bug The issue is confirmed as a bug.

Comments

@mayjiang0203
Copy link

mayjiang0203 commented Aug 19, 2021

Bug Report

What did you do?

#PD-DR-08-4#

What did you expect to see?

What did you see instead?

Some of region stay in SIMPLE_MAJORITY even pd work in sync mode.
[2021/08/19 14:04:51.975 +08:00] [INFO] [pdutil.go:254] ["No need to wait to recover to sync,cur stat:sync"]
[2021/08/19 14:04:52.154 +08:00] [WARN] [pdutil.go:364] ["There are 7 regions not in expected status."]
[2021/08/19 14:04:52.154 +08:00] [WARN] [pdutil.go:365] ["Regions stay not in expected status:NTEGRITY_OVER_LABEL|UNKOWN v%!(NOVERB)%!(EXTRA map[int]string=map[188:SIMPLE_MAJORITY 224:SIMPLE_MAJORITY 228:SIMPLE_MAJORITY 232:SIMPLE_MAJORITY 252:SIMPLE_MAJORITY 307:SIMPLE_MAJORITY 319:SIMPLE_MAJORITY])"]

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

/ # /pd-ctl -V
Release Version: v5.2.0-nightly
Edition: Community
Git Commit Hash: 0c56677
Git Branch: heads/refs/tags/v5.2.0-nightly
UTC Build Time: 2021-08-18 10:40:56

sh-4.2# ./tikv-server -V
TiKV
Release Version: 5.1.0-alpha
Edition: Community
Git Commit Hash: 941ce280fb869b542ea68a1176299074352ca8b6
Git Commit Branch: debug-dr
UTC Build Time: 2021-08-09 12:37:59
Rust Version: rustc 1.56.0-nightly (2faabf579 2021-07-27)
Enable Features: jemalloc mem-profiling portable sse protobuf-codec test-engines-rocksdb cloud-aws cloud-gcp
Profile: release

@mayjiang0203 mayjiang0203 added the type/bug The issue is confirmed as a bug. label Aug 19, 2021
@github-actions github-actions bot added this to Need Triage in Questions and Bug Reports Aug 19, 2021
@mayjiang0203
Copy link
Author

/severity major
/assign @nolouch

@ti-chi-bot ti-chi-bot added the severity/major The issue's severity is major. label Aug 25, 2021
@nolouch
Copy link
Contributor

nolouch commented Aug 25, 2021

ref tikv/tikv#10772

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/replication-mode Replication mode. severity/major The issue's severity is major. type/bug The issue is confirmed as a bug.
Projects
Development

No branches or pull requests

3 participants