-
Notifications
You must be signed in to change notification settings - Fork 409
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
The lock in RegionPersister::doPersist
slow down raft apply when meets jitter
#8583
Labels
affects-5.4
affects-6.1
affects-6.5
affects-7.1
affects-7.5
component/storage
severity/major
type/bug
The issue is confirmed as a bug.
Comments
JaySon-Huang
added
type/bug
The issue is confirmed as a bug.
component/storage
severity/major
labels
Dec 25, 2023
This was referenced Dec 25, 2023
This was referenced Dec 26, 2023
JaySon-Huang
added a commit
to ti-chi-bot/tiflash
that referenced
this issue
Dec 26, 2023
JaySon-Huang
added a commit
to ti-chi-bot/tiflash
that referenced
this issue
Dec 26, 2023
windtalker
pushed a commit
to windtalker/tiflash
that referenced
this issue
Dec 27, 2023
JaySon-Huang
added a commit
to JaySon-Huang/tiflash
that referenced
this issue
Dec 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-5.4
affects-6.1
affects-6.5
affects-7.1
affects-7.5
component/storage
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
tiflash/dbms/src/Storages/KVStore/MultiRaft/RegionPersister.cpp
Lines 99 to 125 in 5980908
RegionPersister::doPersist
acquires a lock and callsPageStorage::write
with the lock. This means when we're persisting Region meta, all other threads can not do the persistence for other Region meta. Which is not reasonable.4. What is your TiFlash version? (Required)
4.0~master
The text was updated successfully, but these errors were encountered: