Skip to content

Commit

Permalink
Merge pull request #815 from jfg956/master
Browse files Browse the repository at this point in the history
Add the DiscoveryIgnoreReplicaHostnameFilters in the sample configuration.
  • Loading branch information
Shlomi Noach committed Mar 2, 2019
2 parents 172cec8 + 428f343 commit 792f42d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf/orchestrator-sample-sqlite.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"DefaultInstancePort": 3306,
"DiscoverByShowSlaveHosts": true,
"InstancePollSeconds": 5,
"DiscoveryIgnoreReplicaHostnameFilters": [
"a_host_i_want_to_ignore[.]example[.]com",
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
],
"UnseenInstanceForgetHours": 240,
"SnapshotTopologiesIntervalHours": 0,
"InstanceBulkOperationsWaitTimeoutSeconds": 10,
Expand Down
4 changes: 4 additions & 0 deletions conf/orchestrator-sample.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"DefaultInstancePort": 3306,
"DiscoverByShowSlaveHosts": true,
"InstancePollSeconds": 5,
"DiscoveryIgnoreReplicaHostnameFilters": [
"a_host_i_want_to_ignore[.]example[.]com",
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
],
"UnseenInstanceForgetHours": 240,
"SnapshotTopologiesIntervalHours": 0,
"InstanceBulkOperationsWaitTimeoutSeconds": 10,
Expand Down
4 changes: 4 additions & 0 deletions conf/orchestrator-simple.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"#": "-----",
"DiscoverByShowSlaveHosts": true,
"InstancePollSeconds": 5,
"DiscoveryIgnoreReplicaHostnameFilters": [
"a_host_i_want_to_ignore[.]example[.]com",
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
],
"HostnameResolveMethod": "default",
"MySQLHostnameResolveMethod": "@@hostname",
"ReasonableReplicationLagSeconds": 10,
Expand Down
4 changes: 4 additions & 0 deletions docs/configuration-sample.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ The following is a production configuration file, with some details redacted.
"SlaveStartPostWaitMilliseconds": 1000,
"DiscoverByShowSlaveHosts": false,
"InstancePollSeconds": 5,
"DiscoveryIgnoreReplicaHostnameFilters": [
"a_host_i_want_to_ignore[.]example[.]com",
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
],
"ReadLongRunningQueries": false,
"SkipMaxScaleCheck": true,
"BinlogFileHistoryDays": 10,
Expand Down

0 comments on commit 792f42d

Please sign in to comment.