You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 79fbe1c
Browse filesBrowse the repository at this point in the historyBrowse files
[fix](fe) Derive IVM binlog broken from DDL (apache#17)
* [fix](fe) Derive IVM binlog broken from DDL
### What problem does this PR solve?
Issue Number: None
Related PR: apache#15
Problem Summary: DDL operations such as truncate, drop partition, replace partition, and recover partition can change base table visible rows through metadata without row binlog deltas. Persisting the IVM binlogBroken mark through a separate ALTER_IVM_INFO edit log makes the mark independent from the base-table DDL replay sequence. This change treats DDL-caused binlogBroken as DDL-derived memory state: master DDL paths mark the in-memory MTMV state, and DDL replay paths derive the same mark from the base-table DDL log. ALTER_IVM_INFO remains available for refresh-owned IVM state such as refresh progress.
### Release note
None
### Check List (For Author)
- Test: Unit Test
- ../run-fe-ut.sh --run org.apache.doris.mtmv.ivm.IvmBinlogBrokenTest
- Behavior changed: Yes. DDL-caused IVM binlogBroken state is derived from base-table DDL logs instead of being persisted as a separate MTMV ALTER_IVM_INFO log.
- Does this need documentation: No
* [fix](fe) Use explicit db id for recycle bin recover
0 commit comments