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

ChangeMasterCredentials: fixed when server is not a replica #789

Merged
merged 2 commits into from
Feb 7, 2019

Conversation

shlomi-noach
Copy link
Collaborator

Fixes #788

This fixes the ChangeMasterCredentials() behavior on masters. Behavior was broken by #767

cc @pasha167

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor February 5, 2019 07:54 Inactive
@ghost
Copy link

ghost commented Feb 5, 2019

@shlomi-noach, thank you for quick response.
I tested that and it did not solve the issue. Could you please double check?
Thanks.

@shlomi-noach
Copy link
Collaborator Author

whoops. committed an unrelated change.

@shlomi-noach
Copy link
Collaborator Author

@pasha167 please test again now

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor February 5, 2019 10:33 Inactive
@ghost
Copy link

ghost commented Feb 5, 2019

Yes, that works 👍. Thanks.

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor February 6, 2019 06:35 Inactive
@shlomi-noach
Copy link
Collaborator Author

This PR also introduces a concurrency cap on the number of replicas operated on relocate-replicas. There will only be 5 replicas moved at a time.

@shlomi-noach shlomi-noach merged commit 7bef26f into master Feb 7, 2019
@shlomi-noach shlomi-noach deleted the change-master-credentials-fix branch February 7, 2019 06:31
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.

MakeCoMaster fails, when master does not have any replication settings
1 participant