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

Support countLostReplicas in failover hooks#877

Merged
shlomi-noach merged 2 commits into
masterfrom
count-lost-replicas
May 15, 2019
Merged

Support countLostReplicas in failover hooks#877
shlomi-noach merged 2 commits into
masterfrom
count-lost-replicas

Conversation

@shlomi-noach

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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

@shlomi-noach

Copy link
Copy Markdown
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
Copy Markdown
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