Uh oh!
There was an error while loading. Please reload this page.
[fix](cloud) Skip versioned delete bitmap cleanup for non-MoW tablets - #67084
Conversation
hello-stephen
commented
Aug 25, 2026
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
3369289 to
49bee5fComparewyxxxcat
commented
Aug 25, 2026
run buildall |
hello-stephen
commented
Aug 25, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
49bee5f to
eeeb0c6Comparewyxxxcat
commented
Aug 25, 2026
run buildall |
hello-stephen
commented
Aug 25, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
eeeb0c6 to
bacfed6Comparebacfed6 to
0b1ad9fComparewyxxxcat
commented
Aug 26, 2026
run buildall |
0b1ad9f to
28d18eeComparewyxxxcat
commented
Aug 27, 2026
run buildall |
hello-stephen
commented
Aug 27, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
0d90f39 to
570c550Comparewyxxxcat
commented
Aug 27, 2026
run buildall |
hello-stephen
commented
Aug 27, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
gavinchou
left a comment
There was a problem hiding this comment.
The single-version recycler paths, row-binlog exception, legacy metadata fallback, asynchronous cleanup ordering, and targeted tests look correct. Non-blocking follow-up: multi-version recycling still removes versioned delete-bitmap ranges unconditionally in recycle_rowset_meta_and_data/cleanup_rowset_metadata, so the optimization does not yet cover that mode.
Uh oh!
There was an error while loading. Please reload this page.
…#67084) Skip versioned delete bitmap cleanup for non-MoW tablets by caching the MoW state per partition. Preserve cleanup for row-binlog tablets and legacy rowset metadata, while keeping metadata lookup failures retryable. Tests: required CI checks, including Cloud UT, compile, regression, and performance checks, passed. The PR apache/doris/67084 is merged by gavinchou's agent at 2026-08-28T07:52:04Z
…apache#67084) Skip versioned delete bitmap cleanup for non-MoW tablets by caching the MoW state per partition. Preserve cleanup for row-binlog tablets and legacy rowset metadata, while keeping metadata lookup failures retryable. Tests: required CI checks, including Cloud UT, compile, regression, and performance checks, passed. The PR apache/doris/67084 is merged by gavinchou's agent at 2026-08-28T07:52:04Z
…apache#67084) Skip versioned delete bitmap cleanup for non-MoW tablets by caching the MoW state per partition. Preserve cleanup for row-binlog tablets and legacy rowset metadata, while keeping metadata lookup failures retryable. Tests: required CI checks, including Cloud UT, compile, regression, and performance checks, passed. The PR apache/doris/67084 is merged by gavinchou's agent at 2026-08-28T07:52:04Z
…apache#67084) Skip versioned delete bitmap cleanup for non-MoW tablets by caching the MoW state per partition. Preserve cleanup for row-binlog tablets and legacy rowset metadata, while keeping metadata lookup failures retryable. Tests: required CI checks, including Cloud UT, compile, regression, and performance checks, passed. The PR apache/doris/67084 is merged by gavinchou's agent at 2026-08-28T07:52:04Z
…apache#67084) Skip versioned delete bitmap cleanup for non-MoW tablets by caching the MoW state per partition. Preserve cleanup for row-binlog tablets and legacy rowset metadata, while keeping metadata lookup failures retryable. Tests: required CI checks, including Cloud UT, compile, regression, and performance checks, passed. The PR apache/doris/67084 is merged by gavinchou's agent at 2026-08-28T07:52:04Z
…apache#67084) Skip versioned delete bitmap cleanup for non-MoW tablets by caching the MoW state per partition. Preserve cleanup for row-binlog tablets and legacy rowset metadata, while keeping metadata lookup failures retryable. Tests: required CI checks, including Cloud UT, compile, regression, and performance checks, passed. The PR apache/doris/67084 is merged by gavinchou's agent at 2026-08-28T07:52:04Z
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary: The recycler previously deleted versioned delete bitmap KVs for all recycled rowsets, although versioned delete bitmaps are only used by merge-on-write tablets. This change checks the tablet MoW state before cleanup and skips the versioned delete bitmap cleanup for non-MoW tablets.
The MoW state is cached by partition to avoid repeated tablet metadata reads. Rowsets without a partition ID fall back to tablet index lookup, and already recycled tablets are handled safely when their metadata is no longer present.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)