-
Notifications
You must be signed in to change notification settings - Fork 411
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
SegmentReadTaskScheduler::add
took too long.
#9024
Comments
The root cause is since v7.5, we may meet some DeltaMergeStore with only 0 segment in it. When the read task created, it will add some
It may make tiflash/dbms/src/Storages/DeltaMerge/ReadThread/SegmentReadTaskScheduler.cpp Lines 182 to 191 in 9970e49
tiflash/dbms/src/Storages/DeltaMerge/ReadThread/SegmentReadTaskScheduler.cpp Lines 85 to 91 in 9970e49
|
In theory, only LTS v7.5.0/v7.5.1 is affected. Because before #7437, there is at least 1 segment for empty table/partition, which won't cause this problem. |
…ion (#9027) (#9111) close #9024 Signed-off-by: ti-chi-bot <[email protected]> Signed-off-by: JaySon-Huang <[email protected]> Co-authored-by: jinhelin <[email protected]> Co-authored-by: JaySon-Huang <[email protected]>
Bug Report
[2024/05/02 14:11:37.563 +00:00] [INFO] [SegmentReadTaskScheduler.cpp:58] ["Added, pool_id=47879 table_id=7511 block_slots=48 segment_count=4 pool_count=123 cost=120437219.576us do_add_cost=7.705us"] [thread_id=929]
120s
v7.5.1
The text was updated successfully, but these errors were encountered: