-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](sc) Skip empty rowset version hole filling for versions <= alter_version #56209
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
TPC-H: Total hot run time: 1476 ms |
TPC-DS: Total hot run time: 2785 ms |
ClickBench: Total hot run time: 0.06 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
dataroaring
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
…r_version (apache#56209) **Schema change and version hole handling:** * Improved the logic in `CloudMetaMgr::fill_version_holes` to selectively skip filling version holes for schema change tablets (`TABLET_NOTREADY` state) when the version is less than or equal to `alter_version`. This prevents abnormal compaction scores and unexpected errors during schema changes, allowing the process to proceed smoothly. * In `CloudSchemaChangeJob::_process_delete_bitmap`, modified the handling of rowsets during schema change jobs to retain only the [0-1] version rowset and set the `alter_version` for the temporary tablet, ensuring that hole rowsets are only filled for versions greater than `alter_version`.
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Schema change and version hole handling:
CloudMetaMgr::fill_version_holesto selectively skip filling version holes for schema change tablets (TABLET_NOTREADYstate) when the version is less than or equal toalter_version. This prevents abnormal compaction scores and unexpected errors during schema changes, allowing the process to proceed smoothly.CloudSchemaChangeJob::_process_delete_bitmap, modified the handling of rowsets during schema change jobs to retain only the [0-1] version rowset and set thealter_versionfor the temporary tablet, ensuring that hole rowsets are only filled for versions greater thanalter_version.Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)