Skip to content

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #49193

…placed by fake version when merging tmp rowset in sort SC (#49193)

### What problem does this PR solve?

When converting historical rowsets in sort schema change, it may write
many temp rowsets and merge them into one rowset later if memory is not
enough. However, these rowsets have fake versions which are like
`[2^29+x, 2^29+x]`, so the values of `__DORIS_VERSION_COL__` in these
temp rowsets will be wrongly replaced by these fake version(see
#16509) in `Merger::vmerge_rowsets`
when merging them into a single rowset.

This PR modify these fake versions to avoid it.
@github-actions github-actions bot requested a review from dataroaring as a code owner March 18, 2025 13:30
@hello-stephen
Copy link
Contributor

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

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring reopened this Mar 18, 2025
@hello-stephen
Copy link
Contributor

run buildall

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 0.00% (0/2) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 38.88% (10168/26154)
Line Coverage 30.30% (86670/286085)
Region Coverage 29.36% (44548/151734)
Branch Coverage 25.88% (22657/87546)

Copy link
Contributor

@dataroaring dataroaring 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 Mar 19, 2025
@github-actions
Copy link
Contributor Author

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

@github-actions
Copy link
Contributor Author

PR approved by anyone and no changes requested.

@dataroaring dataroaring merged commit 9e37027 into branch-3.0 Mar 19, 2025
21 of 24 checks passed
@github-actions github-actions bot deleted the auto-pick-49193-branch-3.0 branch March 19, 2025 02:53
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. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants