Skip to content

Server should handle the case of table_id inconsistent between table node and partition node #767

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 2 tasks
wuchong opened this issue Apr 19, 2025 · 0 comments
Open
1 of 2 tasks

Comments

@wuchong
Copy link
Member

wuchong commented Apr 19, 2025

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

A follow-up of #766.

It seems it's hard to guarantee the consistency of table node and partition node. Even with #766, there is still possible happen a partition node is created by AutoPartitionManager under a re-created table node.

We need to handle this in server side for

  1. ListPartition RPC: should filter out the partitions not match the table id
  2. Metadata RPC: should filter our the partition metadata that not match the table id
  3. CoordinatorEventProcess should handle CreatePartitionEvent that the partition is not match the table id and maybe drop the dirty partition node.

Solution

No response

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant