Skip to content

[FEATURE] Supports iceberg metadata migration through the iceberg rest server #5574

Open
@caican00

Description

@caican00

Describe the feature

In our real-world scenario, a generic iceberg catalog name such as iceberg_{cluster_name} is used in a region, regardless of the specific iceberg backend metastore.

Users do not need to care about the underlying metadata storage service.

When we do the migration of the metadata service at the bottom of iceberg, users should not be aware of it, and they should not be asked to modify the iceberg catalog name in their sql, otherwise it will be very difficult to implement.

Therefore, we want to implicitly implement the switching of iceberg's underlying metadata storage service without requiring users to modify their sql in iceberg rest server.

My initial thought is:
supporting a master-slave backend catalog in the iceberg rest server,as shown in the figure.

image

  1. For new tables, access master metastore directly to create, read, or modify metadata

  2. For the old table, if it exists in master metastore, the metadata is read or modified directly based on master metastore.
    If it does not exist in master metastore, copy the metadata from slave metastore to master metastore at first, and then read or modify the metadata based on master metastore.

Motivation

No response

Describe the solution

No response

Additional context

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions