Skip to content

[CCR][FE Binlog] REPLACE TABLE swap=false checks the old table ID and can lose events #67105

Description

@MoanasDaddyXu

Problem

[CCR][FE Binlog] REPLACE TABLE swap=false checks the old table ID and can lose events

Minimal reproduction path

Disable database-level CCR Binlog and enable table-level Binlog for two ordinary tables. Execute ALTER TABLE A REPLACE WITH TABLE B PROPERTIES ("swap" = "false") with the old-table cache warm and cold, then compare the metadata Binlog and dropped-table records. Verify that event recording is stable and does not depend on whether the old table remains in a local cache.

Expected result

swap=false replacement event recording is stable across cache states and does not lose dropped-table metadata.

Source

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions