Skip to content

[Feature Request]: Support custom key prefix for etcd to enable multi-tenancy #957

@uniqueni

Description

@uniqueni

Describe your feature request

Problem Statement

Currently, when using etcd as the metadata backend, Mooncake uses a hardcoded key prefix mooncake/ for all metadata entries. This creates challenges in the following scenarios:

  1. Multi-environment deployment: Running multiple Mooncake instances (dev/test/prod) on the same etcd cluster causes key conflicts
  2. Multi-tenancy: Different applications or tenants sharing the same etcd cluster cannot isolate their metadata
  3. Namespace collision: Cannot run multiple independent Mooncake clusters on shared infrastructure

Example of current etcd keys:
mooncake/ram/segment_name
mooncake/rpc_meta/server_name

Before submitting a new issue...

  • Make sure you already searched for relevant issues and read the documentation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions