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

[feature] support rolling update #121

Closed
zhyass opened this issue Jun 23, 2021 · 6 comments · Fixed by #133
Closed

[feature] support rolling update #121

zhyass opened this issue Jun 23, 2021 · 6 comments · Fixed by #133
Assignees
Labels
enhancement New feature or request P0 High priority
Milestone

Comments

@zhyass
Copy link
Contributor

zhyass commented Jun 23, 2021

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

Describe the solution you'd like

Upgrade the follower nodes first, and then upgrade the leader node last.

For a two-node cluster, we need to adjust the parameter rpl_semi_sync_master_timeout before upgrading from the node. Otherwise, the leader node will hang due to semi-sync.

Describe alternatives you've considered

Additional context

Reference: Qingcloud MySQL Plus

@zhyass zhyass added the enhancement New feature or request label Jun 23, 2021
@zhyass zhyass self-assigned this Jun 23, 2021
@andyli029 andyli029 added this to the Next milestone Jun 24, 2021
@andyli029 andyli029 added the P0 High priority label Jun 24, 2021
@zhyass
Copy link
Contributor Author

zhyass commented Jun 30, 2021

@zhyass
Copy link
Contributor Author

zhyass commented Jul 1, 2021

@zhyass
Copy link
Contributor Author

zhyass commented Jul 1, 2021

zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 7, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 8, 2021
@zhyass
Copy link
Contributor Author

zhyass commented Jul 8, 2021

TODO: support two-node cluster

zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 9, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 9, 2021
@andyli029 andyli029 modified the milestones: Next, v1.3.0 Jul 9, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 13, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 13, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 13, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 14, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 14, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 14, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 14, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 14, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 14, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 15, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 15, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 15, 2021
@zhyass
Copy link
Contributor Author

zhyass commented Jul 15, 2021

rpl_semi_sync_master_timeout has been setted by xenon when the replica is 2, we need not set again.

@andyli029
Copy link
Contributor

ACK

zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 15, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 15, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 15, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 19, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 19, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 23, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 23, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 23, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 23, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 26, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 26, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 26, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 27, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 27, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 27, 2021
zhyass added a commit to zhyass/radondb-mysql-kubernetes that referenced this issue Jul 27, 2021
zhl003 pushed a commit to zhl003/radondb-mysql-kubernetes that referenced this issue Aug 17, 2022
zhl003 pushed a commit to zhl003/radondb-mysql-kubernetes that referenced this issue Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P0 High priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants