Uh oh!
There was an error while loading. Please reload this page.
[Fix](partial update) abort partial update on shadow index's tablet when the including columns miss key columns on new schema - #46347
Merged
dataroaring merged 6 commits intoJan 7, 2025
Conversation
hello-stephen
commented
Jan 3, 2025
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
bobhan1force-pushed
the
bh-add-key-sc-partial-update-dup-key
branch
from
January 3, 2025 03:59
cc8956b to
1a307efComparebobhan1
commented
Jan 3, 2025
ContributorAuthor
run buildall |
doris-robot
commented
Jan 3, 2025
TPC-H: Total hot run time: 32994 ms |
doris-robot
commented
Jan 3, 2025
TPC-DS: Total hot run time: 190908 ms |
doris-robot
commented
Jan 3, 2025
ClickBench: Total hot run time: 31.34 s |
doris-robot
commented
Jan 3, 2025
TeamCity be ut coverage result: |
| "txn_id={}. Missing key column {}.", | ||
| tablet_id, txn_id, key_col.name()); | ||
| LOG_WARNING(msg); | ||
| return Status::Aborted<false>(msg); |
Contributor
There was a problem hiding this comment.
Is INVALID_SCHEMA error better?
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
bobhan1 added a commit
to bobhan1/doris
that referenced
this pull request
Jan 8, 2025
…hen the including columns miss key columns on new schema (apache#46347) During a schema change which changes key columns, partial update on shadow index's tablet may cause duplicate key problem. So we abort the partial update in this situation.
bobhan1 added a commit
to bobhan1/doris
that referenced
this pull request
Jan 8, 2025
…hen the including columns miss key columns on new schema (apache#46347) During a schema change which changes key columns, partial update on shadow index's tablet may cause duplicate key problem. So we abort the partial update in this situation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Problem Summary:
During a schema change which changes key columns, partial update on shadow index's tablet may cause duplicate key problem. So we abort the partial update in this situation.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)