Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Maintainance lock cycle #420

Merged
merged 4 commits into from
Mar 5, 2018
Merged

Maintainance lock cycle #420

merged 4 commits into from
Mar 5, 2018

Conversation

shlomi-noach
Copy link
Collaborator

Solves #407

This PR introduces:

  • in-maintenance command (and backing function) which tells if an instance is currently under maintenance.
  • match-below command (Pseudo-GTID relocate) requires that the target instance is not already under maintenance. This breaks the loop depicted in Prevent concurrent relocations on same pair of servers #407 without imposing new locks.

cc @sjmudd

@shlomi-noach shlomi-noach self-assigned this Feb 28, 2018
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor March 5, 2018 07:37 Inactive
@shlomi-noach
Copy link
Collaborator Author

Works well.

@shlomi-noach shlomi-noach merged commit 4ac684e into master Mar 5, 2018
@shlomi-noach shlomi-noach deleted the maintainance-lock-cycle branch March 5, 2018 07:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants