Skip to content

UpdateMetadata RPC should update table path cache #757

Closed

Description

@wuchong

Search before asking

  • I searched in the issues and found nothing similar.

Description

Currently, UpdateMetadata RPC only updates coordinator and tablet server informations in the cluster, but we should also update table path information in the cluster. This has already added in the RPC protocol, but didn't implement in Coordinator side and TabletServer side.

Willingness to contribute

  • I'm willing to submit a PR!

Activity

  1. caozhen1937 commented on Apr 17, 2025

    @caozhen1937
    Contributor

    @wuchong, I would like to implement it. Can you assign it to me?

    In CoordinatorEventProcessor#updateServerMetadataCache, get all tablePath by MetadataManager.

  2. wuchong commented on Apr 17, 2025

    @wuchong
    MemberAuthor

    @caozhen1937 Getting all tablePath by MetadataManager is a very heavy operation for zookeeper and should be avoided. The implementation is a little complex. We need to send updateMetadata for every table creation and deletion and also when the initialization of a coordiinator server.

    This task is in a high priority, thus I have been working it. Thanks for volunteering.

  3. self-assigned this
    on Apr 17, 2025
  4. wuchong commented on May 14, 2025

    @wuchong
    MemberAuthor
  5. added this to the v0.7 milestone on Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions