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

Confusing usage of ALIAS in mc admin replicate status/start/cancel #4655

Open
Kn0lc opened this issue Aug 12, 2023 · 0 comments
Open

Confusing usage of ALIAS in mc admin replicate status/start/cancel #4655

Kn0lc opened this issue Aug 12, 2023 · 0 comments
Assignees

Comments

@Kn0lc
Copy link

Kn0lc commented Aug 12, 2023

To use the commands mc admin replicate resync cancel/status/start I have to provide two alias.
To me it was not clear which alias where meant.

Expected Behavior

Do not mix the alias used by mc and or the web console.

Current Behavior

When starting Site Replication over the web console I can choose some alias or name for each site i want to replicate. When using the commands mc admin replicate resync status/start/cancel i first have to provide the alias of one site created with mc alias set. The Second Alias then is the alias/name of the site given when starting the Replicate.

Possible Solution

Maybe connect to the server with the alias of the mc command and then suggest options to chose from. This suggestion could provide the alias used to start the site replication and a hint to see with site is meant with this alias. Maybe the used url of each site.
Fast and dirty solution improve the help output of those three commands to clearify what ALIAS1 and ALIAS2 are.

Your Environment

mc version RELEASE.2023-08-08T17-23-59Z (commit-id=01fb7c5a96ccc8bab434d1210847279710c8ae93)
Runtime: go1.19.12 linux/amd64

minio
Version: 2023-08-04T17:40:21Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants