[Feature Request] Add opensearch-node
subcommand to print current metadata
#16034
Labels
opensearch-node
subcommand to print current metadata
#16034
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-cliI'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
The text was updated successfully, but these errors were encountered: