Skip to content
This repository has been archived by the owner on Feb 18, 2025. It is now read-only.

Support countLostReplicas in failover hooks #877

Merged
merged 2 commits into from
May 15, 2019
Merged

Conversation

shlomi-noach
Copy link
Collaborator

{countLostReplicas} is now reported to PostFailoverProcesses and PostUnsuccessfulFailoverProcesses

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor May 8, 2019 06:06 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor May 15, 2019 10:54 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor May 15, 2019 11:07 Inactive
@shlomi-noach
Copy link
Collaborator Author

works as expected

@shlomi-noach shlomi-noach merged commit b0504d9 into master May 15, 2019
@shlomi-noach shlomi-noach deleted the count-lost-replicas branch May 15, 2019 11:23
@IT-xiaoge
Copy link

Under what conditions will Lost replicas?Now I will also lose replicas when failing over.

@shlomi-noach
Copy link
Collaborator Author

Under what conditions will Lost replicas?Now I will also lose replicas when failing over.

Explained in https://github.com/github/orchestrator/blob/master/docs/topology-recovery.md#discussion-recovering-a-dead-master

@pospelov-v
Copy link
Contributor

Hi. Command line text replacement its it countLostReplicas. Which Environment variable? ORC_COUNT_LOST_REPLICAS?

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.

3 participants