Skip to content
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

[Opt](Variant) merge schema in sync_rowsets to prevents from CPU overhead each time describe table #42856

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

eldenmoon
Copy link
Member

Should prevent from merge schema each time calling merged_tablet_schema. So this pr put the merge logic in sync_rowsets stage.

…head each time describe table

Should prevent from merge schema each time calling `merged_tablet_schema`. So this pr put the merge logic in `sync_rowsets` stage.
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@eldenmoon
Copy link
Member Author

run buildall

Copy link
Contributor

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

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.47% (9721/25941)
Line Coverage: 28.72% (80615/280651)
Region Coverage: 28.15% (41678/148057)
Branch Coverage: 24.72% (21175/85672)
Coverage Report: http://coverage.selectdb-in.cc/coverage/d6ca48ad6deae8ec24c70d5d1b28b665c3f6ae16_d6ca48ad6deae8ec24c70d5d1b28b665c3f6ae16/report/index.html

Copy link
Contributor

@xiaokang xiaokang left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

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

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels Oct 30, 2024
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@csun5285 csun5285 left a comment

Choose a reason for hiding this comment

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

LGTM

@eldenmoon eldenmoon merged commit 866c4fd into apache:master Nov 1, 2024
25 of 28 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 1, 2024
…head each time describe table (#42856)

Should prevent from merge schema each time calling
`merged_tablet_schema`. So this pr put the merge logic in `sync_rowsets`
stage.
eldenmoon added a commit to eldenmoon/incubator-doris that referenced this pull request Nov 4, 2024
…head each time describe table (apache#42856)

Should prevent from merge schema each time calling
`merged_tablet_schema`. So this pr put the merge logic in `sync_rowsets`
stage.
eldenmoon pushed a commit that referenced this pull request Nov 4, 2024
…rhead each time describe table(#42856) (#43062)

PR Body: Should prevent from merge schema each time calling
`merged_tablet_schema`. So this pr put the merge logic in `sync_rowsets`
stage.

 
 Cherry-picked from #42856
eldenmoon added a commit that referenced this pull request Nov 11, 2024
…to make schema more accurate (#43580)

Related PR: #42856 previous PR only merge schema in
`CloudTablet::sync_rowsets` but `CloudTablet:: sync_tablet_rowsets ` may
already done by other logic


Co-authored-by: eldenmoon <[email protected]>
github-actions bot pushed a commit that referenced this pull request Nov 11, 2024
…to make schema more accurate (#43580)

Related PR: #42856 previous PR only merge schema in
`CloudTablet::sync_rowsets` but `CloudTablet:: sync_tablet_rowsets ` may
already done by other logic


Co-authored-by: eldenmoon <[email protected]>
zzzxl1993 pushed a commit to zzzxl1993/doris that referenced this pull request Nov 12, 2024
…to make schema more accurate (apache#43580)

Related PR: apache#42856 previous PR only merge schema in
`CloudTablet::sync_rowsets` but `CloudTablet:: sync_tablet_rowsets ` may
already done by other logic


Co-authored-by: eldenmoon <[email protected]>
924060929 pushed a commit to 924060929/incubator-doris that referenced this pull request Nov 12, 2024
…to make schema more accurate (apache#43580)

Related PR: apache#42856 previous PR only merge schema in
`CloudTablet::sync_rowsets` but `CloudTablet:: sync_tablet_rowsets ` may
already done by other logic


Co-authored-by: eldenmoon <[email protected]>
py023 pushed a commit to py023/doris that referenced this pull request Nov 13, 2024
…to make schema more accurate (apache#43580)

Related PR: apache#42856 previous PR only merge schema in
`CloudTablet::sync_rowsets` but `CloudTablet:: sync_tablet_rowsets ` may
already done by other logic


Co-authored-by: eldenmoon <[email protected]>
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/3.0.3-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants