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

Support the manual master switch using the failover coordinator #822

Open
Totktonada opened this issue Apr 12, 2024 · 3 comments
Open

Support the manual master switch using the failover coordinator #822

Totktonada opened this issue Apr 12, 2024 · 3 comments
Assignees
Labels
3sp feature A new functionality teamE

Comments

@Totktonada
Copy link
Member

Something like the following.

$ tt failover switch i-002 [--timeout 10] [-d]
<..here command updates are shown if -d is omitted..>

See https://github.com/tarantool/tarantool-ee/pull/759 for details.

@Totktonada Totktonada added the feature A new functionality label Apr 12, 2024
@askalt
Copy link
Contributor

askalt commented Apr 12, 2024

Now, we have tt cluster replicaset promote/demote/expel. The commands patch the config in etcd to make some action.

How do you think, can we name it tt cluster replicaset switch?

@Totktonada
Copy link
Member Author

I don't mind any solution, in fact.

However, I expect that there may be more commands related to failover coordinators and it may be convenient to have a namespace for them.

@oleg-jukovec
Copy link
Contributor

So we decided:

tt cluster failover switch
tt cluster failover status
...

@0x501D 0x501D self-assigned this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3sp feature A new functionality teamE
Projects
None yet
Development

No branches or pull requests

5 participants