Commit fbbc11b
authored
## Issue
See issues #443 and #444
Also, mysql-router configure `ttl=5` [seconds] whenever clusterset is
configured, independently of the usage of `gr_notifications`.
For comparison, without `gr_notifications` default is `ttl=0.5`, so this
is a conservative change giving geographical concerns when having
multiple clusters.
Given we are using `gr_notifications`, it's safe to override to a
greater value, since this is a fallback mechanism.
## Solution
- use and propagate absolute fqdn (trailing dot) internally and to
consumers
- set `60s` as default metadata_cache refresh interval
For test bundle (3 router, 3 server, 1 test-app), this changes (+ usage
of absolute fqdn on server) took coredns requests from 2.18 kp/s to
0.270kp/s.

Fixes #443 #444
1 parent cff76ac commit fbbc11b
File tree
3 files changed
+4
-2
lines changed- src
- tests/integration
3 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments