Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

auto discover and switch between DM-master addresses for dmctl #917

Closed
csuzhangxc opened this issue Aug 24, 2020 · 5 comments
Closed

auto discover and switch between DM-master addresses for dmctl #917

csuzhangxc opened this issue Aug 24, 2020 · 5 comments
Labels
help wanted This issue wanted some help from contributor type/feature-request This issue is a feature request

Comments

@csuzhangxc
Copy link
Member

Feature Request

Is your feature request related to a problem? Please describe:

now, dmctl can only specify a DM-master address statically.

if the specified DM-master is down, then we need to specify another DM-master's address manually.

Describe the feature you'd like:

discover and switch between DM-master addresses for dmctl automatically.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@csuzhangxc csuzhangxc added type/feature-request This issue is a feature request help wanted This issue wanted some help from contributor labels Aug 24, 2020
@lance6716
Copy link
Collaborator

@csuzhangxc
Copy link
Member Author

Can dmctl fetch all DM-master's address periodically and try to use them one by one?

@lance6716
Copy link
Collaborator

lance6716 commented Sep 1, 2020

Can dmctl fetch all DM-master's address periodically and try to use them one by one?

currently we could query list-member after a success command, save them in hidden cache file or something, and use it when some specific query fail. this "try next master" maybe duplicated with internal forwarding, and since internal forwarding caused many problems, we might disable it in future?

@csuzhangxc
Copy link
Member Author

HTTP API may still need internal forwarding.

@lance6716
Copy link
Collaborator

closed by #1333

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted This issue wanted some help from contributor type/feature-request This issue is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants