Skip to content

Schema store leaves stale table info after partitioning DDL replay #5977

Description

@lidezhu

During ALTER TABLE PARTITIONING and REMOVE PARTITIONING DDL replay, schema store adds the new table info but does not remove the old table info.

This leaves a stale entry in tableInfoMap. It does not currently affect the returned physical tables because the final result is filtered by tableMap, but it makes the replayed metadata inconsistent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-8.5This bug affects the 8.5.x(LTS) versions.severity/minortype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions