Skip to content

[enhancement](runtimefilter) no need wait for fragment because two phase exec fragment#16418

Merged
yiguolei merged 1 commit intoapache:masterfrom
yiguolei:brpcpool
Feb 5, 2023
Merged

[enhancement](runtimefilter) no need wait for fragment because two phase exec fragment#16418
yiguolei merged 1 commit intoapache:masterfrom
yiguolei:brpcpool

Conversation

@yiguolei
Copy link
Contributor

@yiguolei yiguolei commented Feb 4, 2023

Proposed changes

  1. call pthread condition wait may block brpc thread.
  2. no need wait for fragment because two phase exec fragment already guarantee that the fragment instance exits when runtime filter comes. So that I remove the condition wait code.

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2023

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

@hello-stephen
Copy link
Contributor

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

Copy link
Contributor

@BiteTheDDDDt BiteTheDDDDt left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Feb 4, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2023

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2023

PR approved by anyone and no changes requested.

@yiguolei yiguolei merged commit c689b89 into apache:master Feb 5, 2023
dutyu pushed a commit to dutyu/doris that referenced this pull request Feb 6, 2023
…ase exec fragment (apache#16418)

call pthread condition wait may block brpc thread.
no need wait for fragment because two phase exec fragment already guarantee that the fragment instance exits when runtime filter comes. So that I remove the condition wait code.

Co-authored-by: yiguolei <yiguolei@gmail.com>
@yiguolei yiguolei deleted the brpcpool branch March 30, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/1.2.2 reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants