Skip to content

Commit

Permalink
Let operator set the master writable, set cluster Ready only when healty
Browse files Browse the repository at this point in the history
  • Loading branch information
AMecea committed Feb 8, 2019
1 parent 99618ea commit f85e674
Show file tree
Hide file tree
Showing 6 changed files with 224 additions and 167 deletions.
5 changes: 2 additions & 3 deletions hack/charts/mysql-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ orchestrator:
RecoverMasterClusterFilters: ['.*']
RecoverIntermediateMasterClusterFilters: ['.*']
# `reset slave all` and `set read_only=0` on promoted master
ApplyMySQLPromotionAfterMasterFailover: true
# set downtime on the failed master
MasterFailoverLostInstancesDowntimeMinutes: 10
ApplyMySQLPromotionAfterMasterFailover: false
MasterFailoverDetachReplicaMasterHost: true
# https://github.com/github/orchestrator/blob/master/docs/configuration-recovery.md#promotion-actions
# Safety! do not disable unless you know what you are doing
FailMasterPromotionIfSQLThreadNotUpToDate: true
Expand Down
Loading

0 comments on commit f85e674

Please sign in to comment.