bobhan1 opened a new pull request, #70791:
URL: https://github.com/apache/doris/pull/70791

   ### Background
   
   Cloud Merge-on-Write tables use delete bitmaps to hide superseded rows. The 
BE selects the bitmap format to write and the formats to read through two 
separate settings.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: #53908 (introduced the v2 format and the version settings)
   PR Type: Enhancement
   
   Problem Summary:
   
   Using the v2 format currently requires explicit BE configuration. Use v2 for 
new writes by default and request both formats so rowset synchronization can 
combine historical v1 bitmaps with v2 bitmaps.
   
   ### Details
   
   - **Before and after:** `delete_bitmap_store_write_version` moves from `1` 
to `2` and `delete_bitmap_store_read_version` moves from `1` to `3`.
   - **Configs and defaults:** Both BE settings are mutable. Values in 
`be.conf` and `be_custom.conf` take precedence over the built-in defaults.
   - **Impact on existing users:** During a rolling upgrade, enable dual reads 
on every BE before any BE starts writing only v2. A v1-only reader can miss 
v2-only entries.
   - **Behavior change:** Cloud BEs that omit both settings start with v2-only 
writes and reads of both v1 and v2.
   
   ### Testing
   
   - Checked the default registrations, configuration precedence, and read and 
write branches in source.
   - Clang-format 16 and `git diff --check` passed for the changed file.
   
   ### Release note
   
   Cloud BEs now write delete bitmaps in v2 format and read both v1 and v2 by 
default.
   
   ### Check List (For Author)
   
   - Behavior changed: Yes (see Details)
   - Does this need documentation: Yes (update the BE configuration reference 
with the defaults and the rolling upgrade order)
   - Pre-submission status: Partially verified: BE runtime and rolling upgrade 
checks pending
   
   ### AI Disclosure
   
   - Tool: Codex (GPT-6)
   - Generated: The default value edits and this description.
   - Human review: not stated
   


-- 
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]

Reply via email to