[refactor](queryctx) move tg related code to task group#30829
[refactor](queryctx) move tg related code to task group#30829yiguolei merged 13 commits intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. |
|
run buildall |
1 similar comment
|
run buildall |
TPC-H: Total hot run time: 37197 ms |
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 181999 ms |
|
run buildall |
|
run buildall |
|
TeamCity be ut coverage result: |
|
run buildall |
| } | ||
|
|
||
| void add_query(TUniqueId query_id) { _query_id_set.insert(query_id); } | ||
| void add_query(TUniqueId query_id) { |
There was a problem hiding this comment.
warning: method 'add_query' can be made static [readability-convert-member-functions-to-static]
| void add_query(TUniqueId query_id) { | |
| static void add_query(TUniqueId query_id) { |
|
TeamCity be ut coverage result: |
|
run buildall |
|
TeamCity be ut coverage result: |
|
PR approved by anyone and no changes requested. |
| return _query_id_set.size(); | ||
| } | ||
|
|
||
| bool is_shutdown() { return _is_shutdown; } |
There was a problem hiding this comment.
You'd better drop task group's shutdown as well
|
run buildall |
TPC-H: Total hot run time: 37352 ms |
TPC-DS: Total hot run time: 174343 ms |
ClickBench: Total hot run time: 29.96 s |
|
TeamCity be ut coverage result: |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
PR approved by at least one committer and no changes requested. |
|
run buildall |
1 similar comment
|
run buildall |
TPC-H: Total hot run time: 37406 ms |
TPC-DS: Total hot run time: 173616 ms |
ClickBench: Total hot run time: 30.27 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
TeamCity be ut coverage result: |
init query ctx memtracker in queryctx constructor set all task group related property during set taskgroup
init query ctx memtracker in queryctx constructor set all task group related property during set taskgroup
Proposed changes
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...