Skip to content

[client] Refactor metadata cache and async updating mechanism and retry mechanism in client side #483

Open
1 of 6 issues completed

Description

@wuchong

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Currently, the implementation of metadata cache (Cluster) and updating mechanism (MetadataUpdater) on the client side is not very sophisticated. It lacks the general retry mechanism (#480), the time out for UpdateMetadata request is too short to cause job failover (#311), cause job failover when a new partition created (#288).

Solution

This issue aims to introduce a new design of metadata cache and updating mechanism, to resolve above problems.

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!

Activity

  1. swuferhong commented on Jun 5, 2025

    @swuferhong
    Contributor

    Note: we need to refactor coordinatorService#getTableMetadata() and TabletServerMetadataCache#getPartitionMetadata() in order to avoid get table assignment info from zk while no table assignment in server cache.

  2. self-assigned this
    on Dec 14, 2025
  3. added this to the v0.9 milestone on Dec 14, 2025
  4. changed the title [-]Refactor metadata cache and async updating mechanism in client side[/-] [+][client] Refactor metadata cache and async updating mechanism and retry mechanism in client side[/+] on Feb 12, 2026
  5. wuchong commented on Feb 12, 2026

    @wuchong
    MemberAuthor

    For reference: #479 introduced a AdminDriver for retry mechanism.

  6. modified the milestones: v0.9, v1.0 on Feb 14, 2026
  7. modified the milestones: v1.0, v1.1 on Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions