[feat](row binlog):support cloud binlog and independent binlog tablet#65810
Open
Userwhite wants to merge 8 commits into
Open
[feat](row binlog):support cloud binlog and independent binlog tablet#65810Userwhite wants to merge 8 commits into
Userwhite wants to merge 8 commits into
Conversation
Userwhite
requested review from
924060929,
Gabriel39,
airborne12,
csun5285,
deardeng,
eldenmoon,
englefly,
gavinchou,
liaoxin01,
luwei16,
morningman,
morrySnow,
mymeiyi,
starocean999 and
yiguolei
as code owners
July 20, 2026 07:54
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Userwhite
force-pushed
the
support_cloud_binlog
branch
from
July 20, 2026 11:52
185bbfe to
a42d600
Compare
Contributor
Author
|
run buildall |
Contributor
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
Contributor
TPC-H: Total hot run time: 29573 ms |
Contributor
TPC-DS: Total hot run time: 176800 ms |
Contributor
ClickBench: Total hot run time: 25.03 s |
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 free
to 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.
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
This PR implements Row Binlog based on an independent row-binlog tablet
model for both non-cloud mode and cloud mode.
Before this change, Row Binlog data was tightly coupled with the base
tablet write/compaction path, and cloud mode did not have a complete end-
to-end implementation. This made it difficult to keep Row Binlog behavior
consistent across storage-compute integrated and storage-compute
separated deployments, especially for MOW tables, historical values,
partial update/upsert publish conflicts, and compaction.
The new implementation introduces row-binlog companion tablets and wires
them through FE metadata, BE write/publish/compaction/query paths, and
Cloud Meta Service. In non-cloud mode, Row Binlog write and compaction
are refactored around the independent tablet model. In cloud mode, the
same model is extended with cloud-specific rowset commit, publish,
delete-bitmap, metadata, and compaction handling.
Main changes:
coupling it directly with base tablet rowsets.
through aligned tablet ids.
__DORIS_BINLOG_TSO__,__DORIS_BINLOG_LSN__,__DORIS_BINLOG_OP__.cloud mode.
load/write context.
logic.
CumulativeCompactionBinlogPolicyfor non-cloud Row Binlogcompaction.
semantics, and delete-bitmap correctness.
and transaction paths aware of Row Binlog rowsets.
Meta Service.
CloudBinlogCumulativeCompactionPolicy.compaction paths.
filter_new_visible_rowsetsto avoid compacting newly visiblerowsets too early unless backlog requires it.
filtered as non-local rowsets.
report, SHOW/proc paths, and compaction actions.
and operation.
rowset builder/writer, transaction, and compaction policy behavior.
schema change, multi-segment reads, Cloud compaction, and Cloud publish
conflict.
__DORIS_BINLOG_TSO__, __DORIS_BINLOG_LSN__where result order depends on commit/visible TSOsemantics.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)