Uh oh!
There was an error while loading. Please reload this page.
[fix](move-memtable) fix initial use count of streams for auto partition - #33165
Conversation
doris-robot
commented
Apr 2, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
kaijchen
commented
Apr 3, 2024
run buildall |
1 similar comment
kaijchen
commented
Apr 3, 2024
run buildall |
doris-robot
commented
Apr 3, 2024
TPC-H: Total hot run time: 38877 ms |
doris-robot
commented
Apr 3, 2024
TeamCity be ut coverage result: |
doris-robot
commented
Apr 3, 2024
TPC-DS: Total hot run time: 180866 ms |
doris-robot
commented
Apr 3, 2024
ClickBench: Total hot run time: 30.57 s |
doris-robot
commented
Apr 3, 2024
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
Proposed changes
In auto partition, new streams may be created after some sinks closed.
But the initial
use_cntof those streams are stillnum_local_sinks,which causes
use_cntcannot reach 0 andCLOSE_LOADwill never be sent.This PR fixes this problem by removing
use_cntfrom individual streams.Sinks will now rely on the
use_cntin eachLoadStreamMapto determine whether this is the last sink.Only the last sink will handle the close_load, close_wait and commit_info.
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...