11{
2- "Debug" : false ,
2+ "Debug" : true ,
33 "EnableSyslog" : false ,
44 "ListenAddress" : " :3000" ,
55 "MySQLTopologyUser" : " orc_client_user" ,
1111 "MySQLTopologySSLSkipVerify" : true ,
1212 "MySQLTopologyUseMutualTLS" : false ,
1313 "BackendDB" : " sqlite" ,
14- "SQLite3DataFile" : " /app/data /orchestrator.sqlite3" ,
14+ "SQLite3DataFile" : " /usr/local/orchestrator /orchestrator.sqlite3" ,
1515 "MySQLConnectTimeoutSeconds" : 1 ,
1616 "DefaultInstancePort" : 3306 ,
1717 "DiscoverByShowSlaveHosts" : true ,
1818 "InstancePollSeconds" : 5 ,
1919 "DiscoveryIgnoreReplicaHostnameFilters" : [
2020 " a_host_i_want_to_ignore[.]example[.]com" ,
21- " .*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
21+ " .*[.]ignore_all_hosts_from_this_domain[.]example[.]com" ,
22+ " a_host_with_extra_port_i_want_to_ignore[.]example[.]com:3307"
2223 ],
2324 "UnseenInstanceForgetHours" : 240 ,
2425 "SnapshotTopologiesIntervalHours" : 0 ,
3536 "CandidateInstanceExpireMinutes" : 60 ,
3637 "AuditLogFile" : " " ,
3738 "AuditToSyslog" : false ,
38- "RemoveTextFromHostnameDisplay" : " :3306" ,
39+ "RemoveTextFromHostnameDisplay" : " .mydomain.com :3306" ,
3940 "ReadOnly" : false ,
40- "UseSuperReadOnly" : true ,
4141 "AuthenticationMethod" : " " ,
4242 "HTTPAuthUser" : " " ,
4343 "HTTPAuthPassword" : " " ,
4646 " *"
4747 ],
4848 "ClusterNameToAlias" : {
49- "mysql_node[0-9][0-9] " : " Mysql HA test Suite "
49+ "127.0.0.1 " : " test suite "
5050 },
51- "SlaveLagQuery " : " " ,
51+ "ReplicationLagQuery " : " " ,
5252 "DetectClusterAliasQuery" : " SELECT SUBSTRING_INDEX(@@hostname, '.', 1)" ,
5353 "DetectClusterDomainQuery" : " " ,
5454 "DetectInstanceAliasQuery" : " " ,
8989 "SkipBinlogEventsContaining" : [],
9090 "ReduceReplicationAnalysisCount" : true ,
9191 "FailureDetectionPeriodBlockMinutes" : 60 ,
92+ "FailMasterPromotionOnLagMinutes" : 0 ,
9293 "RecoveryPeriodBlockSeconds" : 3600 ,
9394 "RecoveryIgnoreHostnameFilters" : [],
9495 "RecoverMasterClusterFilters" : [
95- " .* "
96+ " _master_pattern_ "
9697 ],
9798 "RecoverIntermediateMasterClusterFilters" : [
98- " .* "
99+ " _intermediate_master_pattern_ "
99100 ],
100101 "OnFailureDetectionProcesses" : [
101102 " echo 'Detected {failureType} on {failureCluster}. Affected replicas: {countSlaves}' >> /tmp/recovery.log"
102103 ],
104+ "PreGracefulTakeoverProcesses" : [
105+ " echo 'Planned takeover about to take place on {failureCluster}. Master will switch to read_only' >> /tmp/recovery.log"
106+ ],
103107 "PreFailoverProcesses" : [
104108 " echo 'Will recover from {failureType} on {failureCluster}' >> /tmp/recovery.log"
105109 ],
113117 "PostIntermediateMasterFailoverProcesses" : [
114118 " echo 'Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Successor: {successorHost}:{successorPort}' >> /tmp/recovery.log"
115119 ],
120+ "PostGracefulTakeoverProcesses" : [
121+ " echo 'Planned takeover complete' >> /tmp/recovery.log"
122+ ],
116123 "CoMasterRecoveryMustPromoteOtherCoMaster" : true ,
117124 "DetachLostSlavesAfterMasterFailover" : true ,
118125 "ApplyMySQLPromotionAfterMasterFailover" : true ,
119126 "PreventCrossDataCenterMasterFailover" : false ,
120127 "PreventCrossRegionMasterFailover" : false ,
121- "MasterFailoverDetachSlaveMasterHost " : false ,
128+ "MasterFailoverDetachReplicaMasterHost " : false ,
122129 "MasterFailoverLostInstancesDowntimeMinutes" : 0 ,
123- "PostponeSlaveRecoveryOnLagMinutes " : 0 ,
130+ "PostponeReplicaRecoveryOnLagMinutes " : 0 ,
124131 "OSCIgnoreHostnameFilters" : [],
125132 "GraphiteAddr" : " " ,
126133 "GraphitePath" : " " ,
127- "GraphiteConvertHostnameDotsToUnderscores" : true
128- }
134+ "GraphiteConvertHostnameDotsToUnderscores" : true ,
135+ "ConsulAddress" : " " ,
136+ "ConsulAclToken" : " "
137+ }
0 commit comments