apache / apache/doris

[CCR][FE Binlog] Dropping an async materialized view after FE restart emits an orphan DROP_TABLE event

Open
#67,107 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
15.9k
Forks
3.9k
Avg merge
2d 23h
Merged PRs (30d)
520

Description

## Problem

[CCR][FE Binlog] Dropping an async materialized view after FE restart emits an orphan DROP_TABLE event

## Minimal reproduction path

Enable database-level CCR metadata Binlog, create an asynchronous materialized view, persist a frontend image, restart the frontend, and make DROP the first operation involving that view after restart. Verify that neither an orphan CREATE_TABLE nor an orphan DROP_TABLE is emitted, matching the uninterrupted create/drop path.

## Expected result

Async materialized-view filtering is identical before and after frontend restart.

## Source

This report is a sanitized tracking record for Jira DORIS-28091. Internal hosts, paths, artifacts, build identifiers, and private logs are intentionally omitted.

Contributor guide

Open the contributing guide

Research direction

Start with the minimal reproduction: enable database-level CCR metadata Binlog, create an asynchronous materialized view, persist a frontend image, restart the frontend, and make DROP the first operation involving that view. Compare filtering after restart with the uninterrupted create/drop path; done means neither an orphan CREATE_TABLE nor an orphan DROP_TABLE is emitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.