[fix](load data) decommission replica don't load data when it misses versions#38198
Merged
dataroaring merged 2 commits intoapache:masterfrom Jul 23, 2024
Merged
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
Author
|
run buildall |
2 similar comments
Contributor
Author
|
run buildall |
Contributor
Author
|
run buildall |
Contributor
|
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 39874 ms |
TPC-DS: Total hot run time: 174310 ms |
ClickBench: Total hot run time: 30.82 s |
Contributor
Author
|
run feut |
Contributor
Author
|
run cloud_p1 |
Contributor
|
PR approved by at least one committer and no changes requested. |
This was referenced Jul 23, 2024
dataroaring
pushed a commit
that referenced
this pull request
Jul 24, 2024
…versions (#38198) BUG: when a decommission replica misses versions (last failed version > 0), it will cause a bug: 1. It cann't do compaction due to it has miss versions; 2. It cann't cloning the missing rowsets because it's decommissioned. So if it continue to load data, its rowset will increase util it cause error -235(TOO MANY VERSION). Fix: don't write data to the decommission replica if it miss rowsets.
mongo360
pushed a commit
to mongo360/doris
that referenced
this pull request
Aug 16, 2024
…versions apache#38198 (apache#38257) cherry pick from apache#38198
Closed
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.
BUG: when a decommission replica misses versions (last failed version > 0), it will cause a bug:
So if it continue to load data, its rowset will increase util it cause error -235(TOO MANY VERSION).
Fix: don't write data to the decommission replica if it miss rowsets.