shuke987 opened a new pull request, #65536:
URL: https://github.com/apache/doris/pull/65536
### What problem does this PR solve?
Issue Number: N/A
Related PR: #65211, #64508
Problem Summary:
Some unique-key MOW regression cases deliberately bypass the delete bitmap
and assert historical physical rows, sequence values, skip bitmaps, and rowset
versions. These assertions require the pre-compaction rowsets to remain
available, but the affected tables leave automatic compaction enabled.
Background compaction can therefore merge the expected old rowsets before
`qt_inspect` or an equivalent raw-row query runs, while all user-visible SQL
results remain correct.
This PR disables table-level automatic compaction only for the tables whose
assertions intentionally depend on historical physical layout. It covers nine
case files, including publish-conflict, read-from-old, delete-sign,
sequence-column, and auto-increment physical-row checks. Golden results and
user-visible correctness assertions are unchanged.
The source scan reviewed all master cases that set `skip_delete_bitmap=true`
without already disabling automatic compaction. Four remaining files were
intentionally excluded because the variable is used only for debug-mode
validation, routine-load waiting, insert execution setup, or binlog TVF
behavior; they do not assert historical table rowsets.
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [x] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
Validation: `test_flexible_partial_update_publish_conflict_seq` passed as
one lock-serialized suite on the authorized branch-4.1 test cluster using the
patched master case file. The run confirmed the new table property in `SHOW
CREATE TABLE` and completed all logical and physical-row assertions with 0
failed suites. `git diff --check origin/master...HEAD` also passed.
- Behavior changed:
- [x] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [x] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
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]