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

ADD CLUSTER MYID Command #3192

Open
ted-y opened this issue Nov 22, 2024 · 0 comments
Open

ADD CLUSTER MYID Command #3192

ted-y opened this issue Nov 22, 2024 · 0 comments

Comments

@ted-y
Copy link

ted-y commented Nov 22, 2024

Expected Behavior

As part of the cluster operator development, the CLUSTER MYID command should be implemented to allow users to easily retrieve the unique identifier of the cluster they are managing.

Current Behavior

At present, there is no dedicated command to fetch the cluster ID directly. This omission hinders developers and operators from efficiently managing clusters, especially in large-scale environments where quick access to cluster specifics is crucial.

Possible Solution

Introduce the CLUSTER MYID command as a new feature in the cluster operator toolset. This command should provide the user with the unique ID of the cluster, enhancing the operator's ability to manage and automate cluster-specific tasks.

Steps to Reproduce

Attempt to identify the cluster ID using existing tools or commands in the cluster operator suite.
Recognize the absence of a streamlined command for this purpose.
Consider scenarios where quick access to the cluster ID would be beneficial for development and operational tasks.
Propose the integration of this command into the cluster operator functionality.

Context (Environment)

Including the CLUSTER MYID command is a valuable addition to the cluster operator environment as it facilitates better management and automation capabilities. For developers and system administrators, this command will aid in debugging, configuration adjustments, and overall cluster handling tasks, especially in continuous integration and deployment scenarios.

Detailed Description

The CLUSTER MYID command will be a straightforward and efficient method for displaying the cluster's unique identifier. This enhancement aligns with the ongoing efforts to develop a robust and functional cluster operator toolkit, aiming to improve operational workflows and user experience.

Possible Implementation

#3136

127.0.0.1:6379> CLUSTER MYID
"30b1c8d33d1dbfdc2629537d24c2de62e6d1347a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant