Concurrent flush lead to CPU waste #5409
Labels
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
component/storage
severity/minor
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)
Perform two flush over the same segment concurrently. One could be triggered in background and another could be triggered via write.
2. What did you expect to see? (Required)
One flush wait for another.
3. What did you see instead (Required)
CPU is 100% during one flush waiting for another.
4. What is your TiFlash version? (Required)
master
The text was updated successfully, but these errors were encountered: