Skip to content

[Pipeline](Exec) disable work steal of hash join build#15652

Merged
Gabriel39 merged 1 commit intoapache:masterfrom
HappenLee:bug
Jan 6, 2023
Merged

[Pipeline](Exec) disable work steal of hash join build#15652
Gabriel39 merged 1 commit intoapache:masterfrom
HappenLee:bug

Conversation

@HappenLee
Copy link
Copy Markdown
Contributor

Proposed changes

Opt the cache miss of hash join build side in pipe exe engine

Problem summary

Describe your changes.

Checklist(Required)

  1. Does it affect the original behavior:
    • Yes
    • No
    • I don't know
  2. Has unit tests been added:
    • Yes
    • No
    • No Need
  3. Has document been added or modified:
    • Yes
    • No
    • No Need
  4. Does it need to update dependencies:
    • Yes
    • No
  5. Are there any changes that cannot be rolled back:
    • Yes (If Yes, please explain WHY)
    • No

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...

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

DCHECK(_complete_dependency < _dependencies.size());
return _complete_dependency.fetch_add(1) == _dependencies.size() - 1;
bool finish = _complete_dependency.fetch_add(1) == _dependencies.size() - 1;
if (finish) _previous_schedule_id = dependency_core_id;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: statement should be inside braces [readability-braces-around-statements]

Suggested change
if (finish) _previous_schedule_id = dependency_core_id;
if (finish) { _previous_schedule_id = dependency_core_id;
}

@hello-stephen
Copy link
Copy Markdown
Contributor

hello-stephen commented Jan 5, 2023

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 36.46 seconds
load time: 474 seconds
storage size: 17122112825 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230105170227_clickbench_pr_74408.html

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 5, 2023

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Copy Markdown
Contributor

@Gabriel39 Gabriel39 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Gabriel39 Gabriel39 merged commit 1038093 into apache:master Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants