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

Closed
Totktonada opened this issue Apr 12, 2024 · 3 comments · Fixed by #848
Closed

Support the manual master switch using the failover coordinator #822

Totktonada opened this issue Apr 12, 2024 · 3 comments · Fixed by #848
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
0x501D added a commit that referenced this issue May 23, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
0x501D added a commit that referenced this issue May 23, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
0x501D added a commit that referenced this issue May 23, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
0x501D added a commit that referenced this issue May 23, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
0x501D added a commit that referenced this issue May 27, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
0x501D added a commit that referenced this issue May 27, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
0x501D added a commit that referenced this issue May 28, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
0x501D added a commit that referenced this issue May 28, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
0x501D added a commit that referenced this issue May 28, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
0x501D added a commit that referenced this issue May 28, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
0x501D added a commit that referenced this issue May 28, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
psergee pushed a commit that referenced this issue May 29, 2024
@TarantoolBot document
Title: `tt cluster failover commands`

This patch adds new commands:
* tt cluster failover switch - switch master instance
* tt cluster failover switch-status - show master switching status

This commands works only with etcd based failover configuration.

Closes #822
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

Successfully merging a pull request may close this issue.

5 participants