branch-2.1-pick: [Fix](merge-on-write) should calculate delete bitmaps between segmens before skip if tablet is in NOT_READY state in flush phase (#48056)#48089
Merged
dataroaring merged 2 commits intoapache:branch-2.1from Feb 21, 2025
Conversation
…s before skip if tablet is in `NOT_READY` state in flush phase (apache#48056) Problem Summary: considering the following situation: 1. heavy sc start on BE and change tablet's state to `NOT_READY` 2. load1 skip to calculate delete bitmaps in flush phase because the tablet's state is `NOT_READY` 3. heavy sc finished and change tablet's state to `RUNNING` 4. load1 calculate delete bitmaps in publish phase for converted historical rowsets If load1 write multi segments, this will cause duplicate key because it forget to calculate delete bitmaps between segments in any phase.
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
|
TeamCity be ut coverage result: |
deardeng
pushed a commit
to deardeng/incubator-doris
that referenced
this pull request
Dec 19, 2025
…s between segmens before skip if tablet is in `NOT_READY` state in flush phase (apache#48056) (apache#48089) (apache#334) pick apache#48056
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 free
to 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.
pick #48056