Uh oh!
There was an error while loading. Please reload this page.
branch-3.0: [opt](rowset meta) truncate segments key bounds if too large to avoid RowsetMetaCloudPB exceeds fdb's 100KB limits (#45287) - #51595
Merged
Conversation
… `RowsetMetaCloudPB` exceeds fdb's 100KB limits (apache#45287) In cloud mode, `RowsetMetaCloudPB` will be stored as a value in fdb. Segment key bounds is a member of `RowsetMetaCloudPB`. When the key columns has long data, segment key bounds may be very large, causing the size of `RowsetMetaCloudPB` be larger than the fdb 100KB limit, and will cause load txn fail when put `RowsetMetaCloudPB` KV in fdb. This PR add a config `segments_key_bounds_truncation_threshold` to limit the max length of segment key bounds to avoid the problem. Segment key bounds which are larger than the value of this config will be truncated. The config will take effect when rowset is generated(load/schema change/compaction/snapshot). **Note that as long as the config `segments_key_bounds_truncation_threshold` has ever been turned on, cluster downgrade and backup restore are not supported any more.**
hello-stephen
commented
Jun 10, 2025
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
bobhan1
commented
Jun 10, 2025
ContributorAuthor
run buildall |
doris-robot
commented
Jun 10, 2025
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
bobhan1
commented
Jun 10, 2025
ContributorAuthor
run buildall |
doris-robot
commented
Jun 10, 2025
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Jun 10, 2025
Contributor
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
bobhan1
commented
Jun 10, 2025
ContributorAuthor
run buildall |
hello-stephen
commented
Jun 10, 2025
Contributor
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
doris-robot
commented
Jun 10, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
bobhan1
commented
Jun 10, 2025
ContributorAuthor
run performance |
1 similar comment
bobhan1
commented
Jun 10, 2025
ContributorAuthor
run performance |
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 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.
pick #45287