Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add opensearch-node subcommand to print current metadata #16034

Open
phvalguima opened this issue Sep 23, 2024 · 3 comments
Open
Assignees
Labels
Cluster Manager enhancement Enhancement or improvement to existing feature or request

Comments

@phvalguima
Copy link

Is your feature request related to a problem? Please describe

Hi,

I have a use-case where I want to automatically, once I attach a new volume to a given node: detect if a given disk already has data from OpenSearch indices and if that data corresponds to the existing cluster or is coming from another cluster.

The goal is, in the event of a disaster, to recover by attaching the disks to another cluster and recovering the original data.

For that, I need to be able to print the metadata available in the disk.

Describe the solution you'd like

I have crafted a small opensearch-node-like CLI command that prints the metadata here: https://github.com/phvalguima/opensearch-metadata-cli

I'd love to evolve it to print a json-formatted output with the metadata of the current node and contribute it back to OpenSearch. Is it something the community is interested on?

Related component

Cluster Manager

Describe alternatives you've considered

No response

Additional context

No response

@phvalguima phvalguima added enhancement Enhancement or improvement to existing feature or request untriaged labels Sep 23, 2024
@dblock dblock removed the untriaged label Oct 14, 2024
@dblock
Copy link
Member

dblock commented Oct 14, 2024

[Catch All Triage - 1, 2, 3, 4]

@phvalguima
Copy link
Author

Hi @dblock I was working on that change btw. If that is something of interest, I'd contribute that standalone command back to OpenSearch.

@dblock
Copy link
Member

dblock commented Oct 15, 2024

Please do! Assigned this issue to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cluster Manager enhancement Enhancement or improvement to existing feature or request
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants