Yukang-Lian opened a new pull request, #67601:
URL: https://github.com/apache/doris/pull/67601
### What problem does this PR solve?
Issue Number: None
Related PR: #65470, #59268
Problem Summary: Backport #65470 to `branch-4.1`. Max-score tail trimming
can otherwise leave a single non-overlapping cumulative rowset, which cannot be
compacted alone and repeatedly returns no suitable version.
The cloud and local policies remember the last trimmed rowset and restore
that direct successor when trimming would strand a non-overlapping singleton. A
one-off max-score overshoot is accepted so the input remains mergeable. The
test-context conflict was resolved by retaining existing branch tests and
adding only #65470's focused regression cases.
Source commit: `54300f922fddbeac6e679a83d7829444d4a72f77`. The branch is
based on the latest `branch-4.1` at publication time.
### Release note
Prevent max-score trimming from leaving an unmergeable cumulative-compaction
input on branch-4.1.
### Check List (For Author)
- Test: Focused cloud and local regression coverage backported
- Clang Format 16 changed-line check: passed
- `git diff --check`: passed
- Full branch-specific BE unit tests were not run locally; hosted CI is
requested below
- Behavior changed: Yes
- Restores the direct successor when trimming strands a non-overlapping
singleton
- Does this need documentation: No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]