Skip to content

[Bug]: drop account failed #24133

Closed
Closed

Description

@jiangxinmeng1

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

https://github.com/matrixorigin/matrixone/issues

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

When a table has stale RefChildTbls entries pointing to non-existent child tables (due to previous operations like CDC, snapshot restore, or prior bugs), the FkChildTblsReferToMe cleanup loop in dropTableSingle fails with:

internal error: can not find table by id : accountId:

Expected Behavior

No response

Steps to Reproduce

When a table has stale RefChildTbls entries pointing to non-existent child tables (due to previous operations like CDC, snapshot restore, or prior bugs), the FkChildTblsReferToMe cleanup loop in dropTableSingle fails with:

internal error: can not find table by id <N>: accountId: <M>

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions