Skip to content

Enable Orchestrator maintenance mode during reparents#3859

Merged
sougou merged 1 commit intovitessio:masterfrom
HubSpot:reparent_maintenance
May 1, 2018
Merged

Enable Orchestrator maintenance mode during reparents#3859
sougou merged 1 commit intovitessio:masterfrom
HubSpot:reparent_maintenance

Conversation

@hmcgonig
Copy link
Copy Markdown
Contributor

This is a pretty minor one to address a race I've seen where orchestrator attempts to fail over a cluster that was undergoing a planned reparent.

To prevent this, maintenance mode should be enabled in DemoteMaster() and disabled when we run setMasterLocked() on the old master.

… it when fixing replication on the old master.

Signed-off-by: Harrison McGonigal <hmcgonigal@hubspot.com>
@sougou sougou merged commit 3af24b6 into vitessio:master May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants