Skip to content

[RFC] Refactor Metadata management in Cluster Manager code as separate lib #13197

@shwetathareja

Description

@shwetathareja

Is your feature request related to a problem? Please describe

Today, Cluster Manager metadata management like create/update/delete of an index, alias, template, data stream etc. are tightly coupled with cluster state or cluster management. Hence, any mutable action is tied to enqueuing a task in CM pending_tasks queue and then ClusterStateExecutor updates the ClusterState object. This make it difficult to evolve Cluster Manager to be more cloud native provider friendly, And, also eventually run the CM in stateless mode.

Describe the solution you'd like

Refactor the Cluster Manager code to separate Metadata management as a lib for core entities and there are already custom data types which are pluggable from plugins perspective. This will ensure both cluster and cloud native implementation can build on top of it.

Related component

Cluster Manager

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🆕 New

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions